etcdserver/etcdhttp: break apart http.go

etcdserver/etcdhttp/http.go has gotten out of control. At a minimum, we can break apart the file to distinguish the peer vs client handlers.
3 trimXXX functions could be moved to client.go because they are used for serveKeys only.