Add configuration options for custom error messages
- Uses a template, with configuration options as the content for the messages to allow user to provide custom messages for specific http errors.
- Ensures that 404, 422, 500, 502 are still handled if no customer error is provided for those
- Issue 1323