Modified the merge to also  support permissions merge.
Removed unused files.
Added utility to validate user permissions (in a non-agnostic way for
now...)
Changes following CR.
Small fix.
Added utility to validate user permissions (in a non-agnostic way for
now...)
Merge pull request #288 from my-koop/mg_permissions

Utilities for user permission system