Add extension to template file name

Add .ejs extension to template file name in order to enable automatic
file type detection and syntax highlighting.

Signed-off-by: Aleksandr Tsertkov <tsertkov@gmail.com>
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
Merge pull request #66 from tsertkov/feature/add_template_extension

Add extension to template file name
1.2.1
Merge branch 'release/1.2.1' into production
Merge tag 'v1.2.1'

1.2.1
Use moduleName tag for User methods documentation

Replace `lbServices` with moduleName tag for User methods:
   getCurrent, getCachedCurrent, isAuthenticated and getCurrentId
Merge pull request #77 from HartasCuerdas/master

replace "lbServices" in services.template.ejs with moduleName tag
1.2.2
Merge branch 'release/1.2.2' into production
Merge tag 'v1.2.2'

1.2.2
Add `R.modelName` property

When debugging code using loopback angular resource objects, it's
difficult to find out what kind of model is represented by
a given `$resource` object.

This commit adds `modelName` property to the resource constructor
to fix that issue.
Merge pull request #79 from strongloop/feature/add-model-name-to-resource

Add `R.modelName` property
Add configurable authentication header

LoopBackResource was changed from factory to provider to be able to
configure the service.

Add the `setAuthHeader` method to set the custom authentication header.

Signed-off-by: Khashayar Hajian <me@khashayar.me>
Merge pull request #68 from khashayar/feature/auth-header

Add configurable authentication header