Fixes Issue #352
Fixes Issue #352

Issue #352: Undefined index: id during attachPermission using array
https://github.com/Zizaco/entrust/issues/352

Traits\EntrustRoleTrait:173 in attachPermission
    When input is determined to be an array, the function incorrectly attempts
    to get the value of the 'id' attribute instead of processing a list of
    Roles.  Fix calls attachPermissions on $permission instead, giving the
    desired functionality.

Traits\EntrustRoleTrait:192 in detachPermission
    See above.

Refactors Traits\EntrustRoleTrait:detachPermission to follow coding standard

Zizaco/entrust,proshore/entrust-lumen,Zizaco/entrust,leon19910505/entrusts,leon19910505/entrusts,proshore/entrust-lumen