Update upload.rb

Updated the upload model to include a thumbnail style as well as have the json return that thumbnail. This way the index will display the thumbnails of uploaded images.