server: Add support for ".mov" extension.

Clean up URL query and filepath extension code.
client: Initial cut at ability to upload copied files.

For now, only hardcoded support for .png and .mov. Need to add a more
general way to handle input content-type, and possible conversions.
Currently, all images are always converted to png, but that may not
make sense if input file is a jpeg.