BIUGFIX: Drag-and-drp wasnt working, quick fix.
Tweaks to the colour extraction. Decided that K-medoid isn't for me, despite the cool name.
Tweaked common colour extraction to avoid duplicates.
Created PhotoColour HM:T model.
Extracted all the photo stuff into a service of its own.
Added px link field to photo. Did some light validation stuff. Annotated all the models and factories.
Test repair.
Created a rake task to fetch images from 500px. Added rest_client to gemfile.
Removed redundant service.
Finished the basic pull-and-analyze from 500px. Storing image data as well as analyzed colour data.
Stored coverage percent on photo objects (so we can use that as a measure for match strength when searching)