Add Travis CI artefacts

Updated package.json to include tests and
added a .travis.yml file for Travis testing

Jira issue: WP-942
Minor edit to force travis build

Jira issue: WP-942
Remove travis build for 0.6.x

The jasmine test code requires v0.8.0 or greater, this
is removed from the .travis.yml file.

Jira issue: WP-942
Merge pull request #8 from jplyle/enable-travis

Enable Travis CI support
Fix bug with handleResponse

If the success callback accepts a single boolean parameter and it is set to 'false', the callback isn't called. Use typeof to determine if the result is specified.
Merge pull request #9 from TobyEalden/handleResponse-bug

Fix bug with handleResponse