Got file selector working and upload results to display

Also added constraints on types of files that can be uploaded.  (only
checks extensions, should we actually be checking the contents of the
files to ensure they are jpg/gif?)

Next: actually get the images uploaded to the server.