Catch/process tree photo validation errors. Fixes #298.

Currently a redirect happens to the plot detail page with the error as a
query string param. We could try to inject it directly but that seems
suboptimal.
Merge pull request #306 from ahinz/fix/298/show-error-if-invalid-image

Catch/process tree photo validation errors. Fixes #298.