fixed some consensus bugs and change client to json
fixed some consensus bugs and change client to json

1.client change sqlite to json
2.fixed block get/set program bug
3.fixed some consensus bugs.

BooniesFX/DNA,dreamfly281/DNA,qingche123/DNA,zhouziyan/DNA,luodanwg/DNA,dreamfly281/DNA,superJinQing/DNA,luodanwg/DNA,qingche123/DNA,superJinQing/DNA,zhengq1/DNA,sharpbear/DNA,BooniesFX/DNA,zhouziyan/DNA,sharpbear/DNA,zhengq1/DNA