Allows options to be passed for remoting middlewares

/to @ritch 

See https://github.com/strongloop/loopback/issues/191