Make 'error_codes' required for 'custom_error_pages'

Running this check without any error codes defined is useless and misleading.

In my case it made me think that the check was broken in 2.2 due to slightly different handling of custom error pages, so https://github.com/liip/LiipMonitorBundle/issues/27 could have been avoided.