Core: Add "method" field to error list entry

To check what kind of validation rule was broken, so we could find a
difference between required or regex validation error raised.

Closes #1035