fix Q.onerror spelling mistake and missing parameter

Q.onerror was spelled Q.oneerror with two e's. It was also missing the reason parameter.
Merge pull request #1290 from RemcoBlok/patch-1

fix Q.onerror spelling mistake and missing parameter