Merge tag 'v1.1.2'

1.1.2
Add jshint configuration.

Enable laxcomma to support the style of using single var keyword for all
require statements.

Fix a leaked global variable in test/server.test.js.
Merge pull request #21 from strongloop/feature/add-jshint-config

Add jshint configuration.
Update docs.json

Remove README from generated doc.
Add .jshintignore

Ignored paths:
  example/rest-models/public
  node_modules
Add /coverage/ to .gitignore

Prevent results of istanbul code coverage from being commited to github.
Rename server.test.js to rest.test.js
Clean up rest tests, cover prototype methods too

Refactor out helper methods
- `givenSharedStaticMethod()`
- `givenSharedPrototypeMethod()`

Add tests for calls of prototype methods to get a better test coverage before
starting refactoring of RestAdapter.prototype.createHandler.
Clean up `RestAdapter.prototype.createHandler()`

Extract smaller methods, remove code duplication, introduce
`RemoteObjects.prototype.invokeMethodInContext()`
Include full error stack in debug logs
Add rest.before and rest.after hooks.
Merge pull request #22 from strongloop/feature/get-unknown-id-should-return-404

Add rest.before and rest.after hooks
Return 404 for unknown methods of known classes

Modify the configuration of the per-class express app to convert
unhandled requests (i.e. unknown sub-urls) into a 404 error.

The change includes code clean-up:
- rename `sc` parameter to `sharedClass`
- use `adapter` instead of `self` in RestAdapter.createHandler
- extract error handling middleware to RestAdapter.errorHandler
- add more comments
Include additional properties in error responses

Modify RestHandler.errorHandler to send responses in the following
format:

{
  "error": {
    "name": {error class name, e.g. 'Error' or 'TypeError'}
    "status": {http status code, e.g. 500}
    "message": {error.message}
    "stack": {full stack-trace, as returned by error.stack}
    {additional enumerable properties of the error}
  }
}

This format is a super-set of the response produced by the default
Connect/Express errorHandler. It is also similar to the format used by
Parse and the format described in Google JSON Style Guide.
Merge pull request #23 from strongloop/feature/improved-error-handling

Return 404 for unknown methods of known classes + Include additional properties in error responses
Skip the super class
Merge pull request #26 from strongloop/feature/skip-super

Skip the super class constructor from remoting
Bump version
Merge branch 'release/1.1.3' into production