Add permission registering for improved perm support
Merge pull request #3 from AE97/perms

Add permission registering for improved perm support