Add task to test plugin JavaScript APIs.

This PR depends on #136. Please look into this after it's merged. Only the last commit(a5e32af) is what this PR represents.

This patch implements a sbt task to plugin JavaScript APIs. It adds the sbt task and also modify `.travis.yml` to run the test every time a PR is uploaded.