Eager loads members permissions in Permissions#index
remove trailing whitespace
Move Permissions hash from Folder model to Folders helpers