Merge tag 'v1.3.0'

1.3.0
Pull model description from ctor.settings first
route-helper: include `notes` and `deprecated`
Extend `consumes` and `produces` metadata

 - Include XML content-types for both input and output
 - Include JSONP (javascript) content-types for output
Use `1.0.0` as the default app version.

Change the default version number returned when the version number
cannot be read from `package.json` in CWD.
Merge pull request #58 from strongloop/godaddy-improvements-1

Godaddy improvements - round 1
Support multi-line array `description` and `notes`

When a string value is expected and the user supplied an array,
convert the value to a single string by joining all array items.
Merge pull request #59 from strongloop/feature/support-array-descriptions

Support multi-line array `description` and `notes`
gitignore: add .idea, *.tgz, *.iml
package: update devDependencies

 - loopback 1.x to ^2.4.1
 - mocha ~1.20.1 to ^1.21.5
 - supertest ~0.13.0 to ~0.14.0
Merge pull request #62 from strongloop/run-tests-agains-loopback-2x

package: update devDependencies
Add support for `context` and `res` param types
Move `convertText` to `typeConverter`

Create a new module `lib/type-converter.js`.

Move `routeHelper.convertText` to this new module.
Refactor conversion of data types

Refactor the way how loopback types are converted to swagger data types.

 - `modelHelper.LDLPropToSwaggerDataType` is responsible for
   producing a valid Swagger Data Type object from LDL object
   (be it a property, accepts item or returns item).

 - LDLPropToSwaggerDataType picks only fields that are part
   of the swagger spec, everything else is excluded from the result.
   It's up to the caller to add extra fields like `description`.

 - refactor `routeHelper.extendWithType` to accept an additional arg:
   the original LDL object. This way it's possible to copy all
   type-specific fields to the output object and don't add anything
   else.
models: include model's `description`
Merge pull request #64 from strongloop/feature/property-constraints

Preserve property type constraints
example: use PersistedModel instead of Model

Use `PersistedModel` as a base for the Product model to ensure
it has some methods to inspect in the explorer.
Merge pull request #65 from strongloop/fix/example

example: use PersistedModel instead of Model
swagger: use X-Forwarded-Host for basePath
swagger: Deprecate `opts.swaggerVersion`

Users of loopback-explorer should not override the swagger version,
as it's the explorer who decides what version of the Swagger Spec
it implements.