Add tests for Series

Adds some basic tests for the series, including extracting data,
filtering and ordering.

Some of these fail, because we don't have a default keyFunction or
valueFunction, so they don't handle lists of numbers very well.
Add Travis for CI

Adds the basic travis configuration, to specify that we are a node_js
project.
Merge pull request #46 from tpkelly/master

Add tests and CI
Fix wrong file name for travis

Should be .yml, not .yaml!
Add the build icon to the README

Adds the result of the last travis build to the README, to display on
github.
Link the build image to travis

Clicking the button now takes you to the ScottLogic/insight page on
travis, where you can see build histories
Hook grunt into travis

We want to run grunt for our own unit tests as CI.
Also makes the "deploy" action run tests and generate docs.

The default action now builds on the deploy action, doing "all of the
above" plus watching the project.
Merge pull request #47 from tpkelly/master

Add CI properly
Update to use main project Travis button
Merge pull request #48 from tpkelly/master

Update to use main project Travis button
Merge branch 'master' of https://github.com/ScottLogic/insight
Updated travis CI script after removing the requirement for a global grunt-cli installation.