Added db equality check
Merge branch 'jon' of github.com:Erotemic/hotspotter into jon