ISSUE #127 and #128

Clean up error and access handling. General code cleanup.
ISSUE#127
Clean up error return codes after refactor.
ISSUE#129

Fixed access to the data so that the owner of the data has to set up the
groups and the access.
ISSUE#128 and ISSUE#130

Updated with new access code changes, plus removed /v1.0 from route.