add some keng
Merge branch 'master' of github.com:go-epaxos/epaxos into dev
add handleAccept and handleAcceptReply, need testing
add handleAccept and handleAcceptReply, need testing
fix handle accept
Merge conflicts, add handlePreAcceptReply, reset

Conflicts:
	replica/instance.go
more refactor on instance and add from leader in prepare reply
add handlePreAcceptOk, handle Accept now if ballot is larger, add panics in handleAccept and others, add ballot in PreAcceptOk
merge conflicts, add handlePreAcceptOk, handle Accept now if ballot is larger, add panics in handleAccept and others, add ballot in PreAcceptOk
fix merge conflicts
fix handle preaccept and accept reply
fix conflicts and add prepareProcess
fix panics
refactor entering new state
add test for committed process
finish committed optimization
Merge pull request #15 from fengjingchao/inst

Commits ready for merge