fix merge conflicts
Merge pull request #7 from fengjingchao/inst

add reject prepare and refine handle prepare
before merge
add rejections and tests
fix conflicts for merge
add test for handlePrepare, and panic test for handlePropose
refactor test