add a couple missing returns
change PutImageHandler to not mess with JSON
ListImagesHandler sends raw output
make image_upload tests actually fail if broken
add tests for the index bit
tweak common test vars