added the ability to use an array of transports or just a single trnasport
adding the ability to use single or multiple email transports in datasources.json file
added test and fixed changing passed in object within ctor
Merge tag 'v2.1.3'

2.1.3
Enable remoting for embedsOne relation

Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
Fix tests
Account for undefined before/afterListeners
Merge pull request #490 from fabien/feature/deep-remoting

Account for undefined before/afterListeners
Allow 'where' argument for scoped count API

Note that the return value will be non-rooted, which is actually what
the
non-scoped /count method returns as well - fixes inconsistency.
Enable remoting for embedsOne relation

Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
Fix tests
Merge branch 'feature/embeds-one-remoting' of https://github.com/fabien/loopback into feature/embeds-one-remoting
Only validate dataSource when defined (Fixes #482)
registry: warn when dataSource is not specified

Modify `registry.configureModel()` to log a warning when `dataSource`
optiont is not specified at all.

Users should provide `dataSource: null` when the model is intentionally
not attached to any data-source.
Merge pull request #483 from strongloop/fix/undefined-datasource

Only validate dataSource when defined
2.1.4
Merge pull request #503 from fabien/feature/scope-where

Allow 'where' argument for scoped count API
Merge pull request #504 from fabien/feature/embeds-one-remoting

Enable remoting for embedsOne relation
Fix embedsMany/findById to return proper 404 response
Tiny fix: correct url format