Adds an optional errors map to allow custom error messages in dynamic defect submission forms.
Merge commit 'c7ba6ba810944e5e8454a23ee50e8aeb158c9f7b' into HEAD