Fixes issue where drag-upload files had no name
Breaks apart the window resize events to resize.js

This code will be required for the wallpaper detail view as well, so it
is broken up to provide a more modular API with a callback for
throttled resize events.
Updates to detail view

The new template is closer to the target format.  Still lacking related
objects.