Large refactoring of Photo model to extend a new Media model (Video also will extend it).
Unit tests for Media model. #616
Merge branch 'video-support' of github.com:photo/frontend into video-support
Working uploads for videos with processing thumbnail generation. #616
Adding support to call /photo/:id/replace.json with {skipOriginal:1}. #616