refactored query ranker to use superclass to calculate term probability for doc d and collection c
added in classes for different term weight calculations laplace, bayes, JM
small bug fixes
Merge branch 'master' of https://github.com/leifos/ifind
Merge to allow update of different smoothed doc language models e.g. laplace etc.