Changing methods to be priviledged

This way inner classes get access to all the vars (who is logged in,
the _request method, etc)
added isBoolean option for requests that return true or false

Examples: isStarred, isMember. Required switching _request to take
another argument so I collapsed the args into an options object
Added methods to check if the user has commit access and get the current login
Made private variables actually private
AUtodetects authentication scheme from arguments

and added short-circuits for canCollaborate
Merge branch 'refactor-and-collaborate'
Bumping version