Make urlBase configurable

Add `setUrlBase` method to LoopBackResourceProvider to allow urlBase configuration.

Signed-off-by: Ariel Schiavoni <arielschiavoni@gmail.com>
Merge pull request #81 from arielschiavoni/feature/url-base

Make urlBase configurable
1.3.0
Merge branch 'release/1.3.0' into production
Merge tag 'v1.3.0'

1.3.0
Enable client model configuration and extension

 * Expects loopback style model-config.json as fourth parameter
  * Expects `dataSource = "remote"` for REST-exposed models

 * No backward compatibility break if model-config parameter missing

 * If model-config present, any model not in the file will be skipped

 * If model-config present, any model not REST-exposed will be skipped

 * Look for model.js extension files in `modelConfig._meta.sources`

 * Expects model.js files to be nodejs modules returning same object
   as ones expected in the loopback boot process

Note : `fixture/model-config.json` contains all models used in the test
       suite so nothing will break. Only MyModel contains custom logic.
Enable non-REST models to be generated/extended

  * Some models in the server are not exposed but needed on the client

  * This enables generation of their Angular service (not resource)

  * Extention of those object models works the same as REST ones

  * These need to be declared in model-config with `dataSource: none`
Enable dependency injection defined client models

 * Client models might need other models/tools as dependency

 * In the server, model.js files start with `var dep = require('dep');`

 * The same model.js file will also get its dependencies by declaring
   them in model-config.json in the `dependencies` property

 * Example : `dependencies: ['User', '_', '$q']`

 * Dependencies must already have a provider in Angular ap where
   lbServices are used

 * REST resources and static models can have dependencies specified
Fix deprecated express res.send(status,...) calls
Fix issue with relative path and backward compat.