add api to support npm search and auto completion
fix sql
fix sql, add sort by name
Merge pull request #26 from fengmk2/support-search

add api to support npm search and auto completion