Work on improving contributions and permissions.
Added permissions.
Changes following CR.
Merge pull request #22 from my-koop/mg_contrib_perms

New contributions API and permissions