Fix for actionContext.controller in RemotingHandler.

It was not being populated correctly before.
Also meant that we were not reading the returnType from metadata correctly.