Add GetMethods function to Routes.

Create a GetMethods function on Routes that returns a list of the HTTP
methods the Route will respond to. This is useful for creating OPTIONS
handlers that return the methods available for any given endpoint.