Allow hyper::method::Method to be put in HashMap

This is needed for porting iron/router to hyper.