Move g.bezier.sum to g.math.sum + perf improvements

As shown by http://jsperf.com/array-reduce-vs-foreach/2 using a for
loop here is much faster than reduce.
Add some tests for the bezier module.
segmentLengths relative defaults to false.
Add a script to start the Jasmine auto-tester.
Fix some JSLint warnings.
Add JSHint hinting.

This is also added to the test script, so builds will fail if JSHinting
fails.
Fix JSHint errors.
Replaced mori.is_empty with the faster mori.count(..) === 0

In reading the code the intent is also clearer.
Shape methods on Path get "add" prefix.

Instead of Path.rect you use Path.addRect. This is more in line with
the proposed Path objects WHATWG standard.
Add test for path resampling code.
Added mori dependency.
Fixed some tests.
Add Travis CI support.
Fixed group colorizing and added colorize test.
Move .travis.yml file to correct location.
ToNumberArray is a function, use lowercase "t".
Add g.js notebook.

The notebook is an interactive playground for trying out g.js.
Add default arguments to g.wiggle.
Resize the cell if source is provided.
Ensured Array.isArray is present.