Add a debug option
Merge pull request #4 from impleri/feature/debug

Add a debug option
Merge branch 'impleri-feature/json'

Conflicts:
	index.js
Removing XML-style wrapper to the JSON post data since it fails
Somehow missed the time-tracking XML-style wrapping
Cleaning up callback handling as well

Conflicts:
	index.js
Added auth error check to callback

Conflicts:
	index.js