refactor move raft http handlers to peer_server_handlers.go
refactor remove extra function
Merge pull request #228 from xiangli-cmu/0.2

refactor move raft http handlers to peer_server_handlers.go