Trying out phash.
Minor refactoring.
Refactored main.
Added run target.
Miscellaneous changes. It's a mess right now.

* Ripped out phantomjs.
* Put in webkit2png
* Commented out/removed phash.