Added ability to set onErrorTarget and onErrorKey
Save some property lookups
Merge pull request #80 from ebryn/onErrorTarget

Added ability to set onErrorTarget and onErrorKey