finish replication test
set deps on immediate precessor in same instance space.
fix race cond in propose and add propose number
Merge pull request #37 from fengjingchao/inst

finish replication test