Use the configured error handler for unknown urls

Reordered middleware setup in app.js and added urlNotFound handler.

Started integration tests that boot the application and issue mock requests
using supertest.
Merge pull request #17 from strongloop/feature/return-standard-error-for-unkown-url

Use the configured error handler for unknown urls
Minor app template updates
AccessToken compatibility updates for lb@1.3.0
Merge pull request #16 from strongloop/minor-updates

Compatibility with LoopBack 1.3.0
Fix autoWiring assertion errors
Unskip mobile smoke test
Add jshint configuration.

Disable "undef" rule because unit-tests are referencing global variables
defined in test/support.js, which jshint cannot pick up.
Add .jshintignore
Merge pull request #18 from strongloop/feature/add-jshint-config

Add jshint configuration.
Fix empty swagger descriptor

Move app.boot() before registration of loopback-explorer middleware,
because the swagger definition is built at the time of middleware
registration.
Mount REST API at `/api`

This change allows the Loopback REST adapter to own it's URL space
and consistently report 404 errors.

Additional benefits:
 - It should be easier to implement API versioning - different API
   versions can live at different sub-paths like '/api-v1'.
 - Application routes and static content will not clash with the URLs
   handled by the REST API.
test: Redirect stdout logs to stderr

Install beforeEach/afterEach hooks that setup redirection of all stdout
write()s to stderr for test runs. This way the log messages don't
corrupt the output of test reporters, especially in xunit xml format.
Merge pull request #20 from strongloop/feature/fix-swagger

Fix swagger; mount REST API at `/api`
Fix the logger as 'development' is not a valid format
Merge pull request #21 from strongloop/feature/fix-logger

Fix the logger as 'development' is not a valid format
Fix missing options and properties from models
Merge branch 'release/v2.0.2' into production