fix(peer_server): set store and registry when setting raft server

New raft server needs new store and registry.
Merge pull request #803 from unihorn/94

fix(peer_server): set store and registry when setting raft server