New upload info

Gives the image dimensions for the uploaded image. There's also my
attempt at adding a previous of the thumbnail to the page. Something
about dojo's on() handler is having trouble making this possible (and
I'm sure I'm doing it wrong).