Added ability to specify sort, limit, and offset fields in document list query
Added mechanism to prevent user from viewing unpublished content unless they have permission to do so
Added unpublished filter to getByQuery
Added unpublished get to singular get
Users can view unpublished versions of docs they create
Moved permissions related code out of baseController and into new permissionManager module.