Update index.js

Some APIs return ' ' on a 201 response resulting in a deserialization exception. Let's trim the response and then check the length to account for 'empty' responses.
Update server.js
Update basic.js
Bumped jshint to 0.6.3
Bumped the version to 2.2.1