[resources] log "events" stats on error
[resources] log "events" stats on error

"events" should be logged everytime regardless of splash response code.
Adds "error" position to keys logged in JSON message.

pawelmhm/splash,Youwotma/splash,Youwotma/splash,Youwotma/splash,pawelmhm/splash,pawelmhm/splash