fix extension of example 7
Dont call setup_response_handler if we have no callback

Add on 'error' for setup_response_handler.
Add jshintrc and fix warnings in main.js
Simplify error checks for the api calls

Check if *_id is a string. If not throw TypeError
in setup_response_handler call callback on the error event
add nock and qunit as dev dependencies
Add qunit test_runner
Add basic tests for payments
Code reformating. Change module descriptions for qunit
main.js add remove function for preauthorizations
add preauthorization tests
Add transactions tests
Fix test description
test runner add preauthorization and transactions tests
Add unit tests for all API functions
added preauthorization remove
Merge pull request #13 from stoilkov/master

added preauthorization remove
New version
Added transaction update
Merge pull request #15 from quentinadam/master

Added transaction update