Refactoring authentication
Change permission check to edit_document

Change hasPermission call to check for "edit_document" rather than "edit_resource" so that QuickBar will work properly for non-Administrator users.
Merge pull request #12 from jeremysanchez/patch-1

Change permission check to edit_document
Merge branch 'develop'
Tagging 1.0.4