Fix incorrect usage of `app` in app.test.js

The `beforeEach` hook was using a local `var app`, the test was
accessing global `app` created by `test/support.js`.
Make app.models unique per app instance

Remove a source of confusion in unit-tests.
Merge pull request #168 from strongloop/feature/new-model-registry-per-app

Make app.models unique per app instance
Add app.isAuthEnabled.

The flag is set by `app.enableAuth` and can be used to detect
whether the access control is enabled.
Merge pull request #170 from strongloop/feature/add-app-isAuthEnabled

Add app.isAuthEnabled.
Use hex encoding for application ids/keys

base64 encoded ids/keys are not friendly for urls
Merge pull request #173 from strongloop/feature/fix-accesstoken-id

Use hex encoding for application ids/keys
Dual license: MIT + StrongLoop
Documentation (generated) fix
Merge pull request #176 from pandaiolo/master

Documentation (generated) fix

Thank you for the patch.
Add karma for running browser tests
Bump version and update deps
Merge branch 'release/1.6.2' into production
Merge tag 'v1.6.2'

1.6.2
Merge package.json
Remove unused karma packages
Make sure User/AccessToken relations are set up by default

User.login assumes the relation User.accessTokens exists
Merge pull request #181 from strongloop/feature/user-token-rel

Make sure User/AccessToken relations are set up by default
Update the license text
Remove unnecessary lines