merge from hui/master
code clean
addSingle for index
multi-threaded index building and searching
gflags for server, remove aminer singleton
merge knowlege drift visualization
code clean up
backend code clean

limiting publication search to 5000 for increased search speed
use glog
fix service object life cycle problem
improved index building
update aminer importer
update search code
merge
teclient util
add author influence
add related entity for pub search
author_ids -> related_entity
Merge branch 'master' of github.com:THUKEG/saedemo
use only title in knowledge drift
finish knowledge drift vis
fix bug of pub abstract in aminerimporter
add treating terms