etcdhttp: check method for every endpoint, add tests

well, what did you think of the previous version?
`func allowMethod(w http.ResponseWriter, m string, ms ...string) bool {`