Merge pull request #8 from kdlan/master

支持从文件读取similarity

The Travis build failed with jdk7
tests against with jdk6 only before we catch the problem with jdk7
debug test