Refactor .travis.yml and package.json for running mocha with phantom, resolves #60