Fixes syntax error.
Fixes minor typos, and fixes permissions set interface such that users are not forced to deal with the set class.
Merge pull request #1 from hazah/permissions

Permissions