Merge pull request #30 from cnnic/dev

merge from cnnic
modify conf.
fix bug: support search pattern start with *
update sql
Merge pull request #519 from forumbyr/master

fix bug: support search pattern start with *