Renames method AccountRepository#getPermissionsByAccount to
getPermissionsForAccount.

Adds comments for that method.