Make parser able to handle tags with no end '>'.

We were failing to parse tags that have eol before an ending '>'.
According to spec in these circumstances we should be returning
what has been parsed in the tag up until that point and treat
the eol exactly like if we hit a '>'.

I've added some extra tests to check for this in the future on
tags that accept annotations.
Merge pull request #35 from RickEyre/issue24

Make parser able to handle tags with no end '>'. Closes #24
Move 'integration' tests to Mocha.

I've moved the tests that deal with many different settings and options
at once to a folder called 'integration' as they're integrating different
aspects of WEBVTT files and added them to the Mocha test suite.
Add region cue setting tests.
Region cue settings should not allow '-->' in them.
Merge pull request #38 from RickEyre/integration-tests

Move 'integration' tests to Mocha.
Merge pull request #40 from RickEyre/regions

Regions
Move no-newline-at-end.vtt to Mocha.
Remove error functionality from util.js.
Add streaming tests for all possible chunk sizes in jsonEqual. Fixes #17.
Increase test slow warning to 30s from 75ms, and individual test timeout time to 60s from 2s.
Switch to underscore's isEqual for equality tests, use patched difflet.
Change default value for size and position to store an int value.

Had to fix a few JSON files that were still expecting string values for
size and position
Merge pull request #41 from RickEyre/underscore

Fix tests to pass on underscore isEqual
Remove parser.onerror functionality from util.js.
Update JSON handling to include region data as well.

I've updated util.js and cue2json to generate and compare JSON that contains
cue and region data.
Update cue2json.

I've added functionality so that cue2json can print JSON to a file with
the same name as the vtt passed or walk the a dir tree and rewrite JSON
files that it finds have a matching vtt file.
Move JSON files over to new format with region data.
Add region tests to test the region keyword and delimiter.
Change region percent settings to be stored as ints by default.

The spec says to interpret these as integers.