Adds Permissions Manager, enables use of Vault.

The RIPermissionsManager allows for simple implementation of various
permission back ends. Vault has now become a useable permissions
manager, but native PermissionsEx code remains.