fixed problem where ordering of routes could destroy parameter data. added ability for method callbacks to set the content-type of the response body.