Simplify shared error messages template

Just display the error if there is only one, rather than iterating
over the array anyway.
Merge pull request #264 from alphagov/simplify_error_message_template

Simplify shared error messages template