Merge pull request #44 from stbnps/master

Master now uses database to store crawled URLs.
Hamming distance mnesia patch @WIP
Added basic tests (failing)
Fixed same_bit_to_int bug (div doesn't return floatd :P)
Test fitted to new distance
Use hamming distance when looking for images, needs more work

  Fixes #43
More AJAX
The system now yields better results.
EPC now stores binary representation of hashes.
Implemented hamming distance on Erlang binary types.
Database queries use hamming distance to sort results.