Add a script to help with uploading candidate photos

This is particularly useful at the moment since a bug in PopIt's web
interface causes node to crash and restart when you upload a photo
there.