Use fields_for to handle the permissions form. Fixes #742
Merge pull request #745 from projecthydra/fix_permissions

Use fields_for to handle the permissions form. Fixes #742