add setToken function for authToken
added tests for files functions
don't attempt to parse body for saveFile
removed useless logging in tests
Merge pull request #4 from aenario/bugfix/files

Bugfix/files
linting
bump to 0.3.2
add tests
Merge pull request #5 from poupotte/feature/authHaibu

Token authentication (cozy-controller)
bump to 0.3.3
add a default user agent to every requests
0.3.4
Use `url.resolve` to concatenate urls

The documentation for `url.resolve` says:

>   Take a base URL, and a href URL, and resolve them as a browser would
>   for an anchor tag.

I believe this is the behavior we want. It will insert slashes where we
want them, and keep from putting them where we don't.
0.3.5
response -> res
Merge pull request #9 from elliots/patch-1

response -> res
change request version
0.3.6
Merge branch 'master' of github.com:mycozycloud/request-json
added tests or edge cases and fix #8