Run tests using loopback 2.x.
Fix the code detecting User model

Fix the check to support both `User` model itself and models extending
`User`.
Merge pull request #75 from strongloop/feature/fix-user-model-detection

Fix user model detection + upgrade loopback to 2.x