Fix error callback triggered with wrong parameters

Backbone.js by default wraps error callback with a wrapError function and expects an xhr object as parameter. This fixes the same by passing xhr to error callback instead of the collection object.