Image upload.

* basic image upload
* create thumbnails for uploaded images
* store uploaded images in filesystem by user ID
* restrict access to upload page
* save image meta-data in database
* create link to upload page in common layout