Added a httpStatusCode annotation so that we can override the status code returned by a controller when it will be handled by the route handler without having to create an HttpApiResponse in the controller. Also fixed a potential problem for controller methods that are not returning an object as by default, javascript assumes "undefined" as the return value of a function