Image preview (Bug 1052217)

Show some preview images for image files, and list binary files in folder views.
Not merge-ready yet, since right now it just copies image files to another directory and serves from there.
Instead it should put them in ES (separate index from the code?) and query that on request.