Merge pull request #11 from cnnic/dev

Dev
Merge pull request #141 from wade1012/dev

Dev Wade
Merge pull request #12 from cnnic/dev

Dev
unit test problem.
unit test problem - add comments.
Merge pull request #144 from forumbyr/master

fix unit test problem.
unit test problem - restore max search size.
Merge pull request #145 from forumbyr/master

unit test problem - restore max search size.
init database by script - add test
Merge pull request #146 from forumbyr/master

init database by script
Merge pull request #20 from cnnic/dev

Dev