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
Merge branch 'master' of git://github.com/nponiros/paymill-node into nponiros-master

* 'master' of git://github.com/nponiros/paymill-node:
  Add unit tests for all API functions
  test runner add preauthorization and transactions tests
  Fix test description
  Add transactions tests
  add preauthorization tests
  main.js add remove function for preauthorizations
  Code reformating. Change module descriptions for qunit
  Add basic tests for payments
  Add qunit test_runner
  add nock and qunit as dev dependencies
  in setup_response_handler call callback on the error event
  Simplify error checks for the api calls
  Add jshintrc and fix warnings in main.js
  Dont call setup_response_handler if we have no callback
  fix extension of example 7
Remove duplicate method
Change tabs to whitespace
Make tests running through `npm test`