Merge pull request #161 from kigeia/unstable

Add hash file to index and detect duplicate pdf on multiple import
Upgrade whoosh from term search to fuzzy search and prefix search