Restructured exposed API a fair bit.
Restructured project.
Switched to nose for testing.
Add unit tests for the phash/dhash functions.