Add remoting options to server/config.json

/to @bajtos @ritch 

See https://github.com/strongloop/loopback/issues/608
See https://github.com/strongloop/loopback/pull/337
The trick is that you have the application available only at request-handling time, not at the time you are building the middleware/handler function.