Add RootHash JSON parameter. Remove Spanshopt API method. Add support on genProof/checkProof/dump to specify the RootHash Refactory of some code Signed-off-by: p4u <p4u@dabax.net>