Added automatic thumbnail creation for images and videos. Refactored resource helper to flat map the nested futures.
Refactored content view header and added caching into models
Merge remote-tracking branch 'origin/master'