Handle ValidationException on CMS forms

See https://github.com/silverstripe/silverstripe-framework/pull/1814 for background.

At the moment, you can break the CMS by submitting the admin/profile form without an email address, so I think this should go into 3.1.

Related CMS PR: https://github.com/silverstripe/silverstripe-cms/pull/770