Return a 405 response for unknown HTTP methods
Merge pull request #10299 from econsultancy/use-method-not-allowed-exception

Use MethodNotAllowed exception rather than UnknownHttpMethod