Merge pull request #6 from avasquez614/master

Finished permissions services.
Fix Document.java
prepare for next development iteration
* Refactored PermissionResolver to use PermissionResolver and ParentResolver instead of URIs.
* Refactored crypto package in utilities.