PatRestHelper and RestOnPat uses Session

Instead of directly using *http.Request, they would use a session
struct which contains richer information along with the raw
*http.Request.
Install update before make check
Test API fail without permission
Use osin.Storage instead of osin.Server in rest
Checks access before creating user

Requires authentication before creating user
Add Travis CI configuration

Allow Travis CI to test this package.