Refactored XMLHttpRequest response handling
Introduced request error callback

Methods findOne, findAll, and findNext
now accept an error callback as the
second argument.
Merge pull request #12 from LibertyGlobal/feature/APISDK-1

APISDK-1: Error callback