refactory hierarchy and fix test bugs. refer:
https://github.com/ripple/ripple-lib-java/pull/15
Merge branch 'master' of https://github.com/MadeInChina/ripple-lib-java.git