More tweaks to image versioning. Note that I moved the snapshot call from
php to the backend newimageid script so that the web interface does not have to worry about provenance issues. Cleaner too. Also some cleanups to log image spew.
Showing with 184 additions and 55 deletions