change QuerySegment algorithm | add TrieManager | add md5 for file

1.QuerySegment use mix + full now.
2.add TrieManager to manage tries
3.add function in md5.hpp to calculate md5 for a file