Added shorthands for the most common calls (GET, POST, PUT, DELETE)

- Also fixed an issue where the defaults would be overridden by any ajax-call.
Fixed an issue where setting headers would override unrelated default headers.
Added support for setting basic authorization header.
Fixed some minor issues with the tests.
Bumped the version to 0.3.0.