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.