Cleanup code styling and formatting mistakes.
Add missing test for access rights for directory.
Merge pull request #18 from cowofevil/acceptance/master/QA-1025-acl_access_rights_dir

Acceptance/master/qa 1025 acl access rights dir