Implement proper error handling in photo resizer

Issue #9 new
Simon Beirnaert
created an issue

Errors (4xx and 5xx) should be handled cleanly with an actual image still being returned.