Fix EZP-21167: Setup travis for the JS REST client

Added .travis.yml file and ensured everything works ok.