added db tests and made resetTables add distances for itembased recs
Merge pull request #91 from BorisVerk/master

added db tests and made resetTables add distances for itembased recs