Merge tag 'v2.8.2'

2.8.2
Fix the jsonrpc adapter to reference the method correctly

See https://github.com/strongloop/strong-remoting/issues/124
Fix use of loose falsy comparison when getting arguments in HttpContext.

This would cause problems when e.g. sending a required number arg that
equaled 0. It would not be found by HttpContext#getArgByName, so the
invocation would then fail a required check, even though 0 is
perfectly valid input.
Update jsonrpc-adapter.js

Wrapped function method "toString" overwritten before been registered in jayson server, this allows mapped parameters (jsonrpc-adapter.js)
Made test of mapped parameters on JSON RPC
Fixed a typo
Fixed a typo
Fixed a typo
Merge pull request #1 from drFabio/feature/fix-issue-124-mapped-parameters

Feature/fix issue 124 mapped parameters
Update jsonrpc-adapter.js

I had to this because jayson uses fn.toString to map the parameters, and since you wrap the method, the jsonrpc server cannot read them.

I solved this overwriting the toString method on the wrapped function, creating this fake string that has the paramenters names in it.
Merge pull request #126 from STRML/fixFalsy

Fix use of loose falsy comparison when getting arguments in HttpContext.
Merge pull request #128 from ericprieto/feature/fix-issue-124-mapped-parameters

Feature/fix issue 124 mapped parameters
Add forgotten unit-tests for XML formatting
SharedMethod: add flag `documented`

The flag is `true` by default and controls whether the method should
be included in swagger descriptor generated by loopback-explorer.
Add `options.rest.xml`, disable XML by default

Add an option `rest.xml` that quickly enables/disables support
for responses in XML format.

The XML support is disabled by default now.

Versions `2.7.1` and newer has XML output enabled by default,
which causes requests made from a browser to be handled with
XML response type.

Such behaviour is considered as a breaking change when compared
to `2.7.0`. This commit restores the behaviour of `2.7.0` again.
Merge pull request #133 from strongloop/feature/remote-method-flag-documented

SharedMethod: add flag `documented`
Merge pull request #132 from strongloop/feature/add-more-xml-unit-tests

Add forgotten unit-tests for XML formatting
Merge pull request #134 from strongloop/feature/disable-xml-by-default

Add `options.rest.xml`, disable XML by default
v2.9.0
Merge branch 'release/2.9.0' into production