Better handling of image creation error

show graphite URL for debugging so we are able to see graphite error
message if there is one.
expire headers also for error message
Merge pull request #1 from cebe-cc/image-error-handling

Better handling of image creation error