Completed "hasSimilarBody" function
Changed text-storing in lucene (now with term frequency)
Added some assisting functions