small additions to utils and ErrorResponseException
Merge branch 'dev' of github.com:tetrapods/core into dev