Add acceptance tests for purge and inheritance.
Add acceptance tests for identity.
Cleanup code styling and formatting mistakes.
Tighten the validation for file content integrity.
Fix problems with commenting and other small bugs.
Merge pull request #17 from cowofevil/acceptance/master/QA-996-acl_identity

LGTM now.