Better HTTP code for method not supported

Change HTTP code to raise from 400 to 405 (Method Not Allowed).
Merge pull request #440 from dokime7/patch-2

Better HTTP code for method not supported