Use settings.region for paring region ids.
Store the cue setting 'region' property as 'regionId'.

RegionId is the name that the IDL of VTTCue specifies.
Store the cue's payload property as 'text'.

This is the name that the TextTrackCue IDL specifies for the
cuetext payload of the cue.
Flatten 'settings' property into the cue object.

This it to mimic how the VTTCue IDL specifies these values should
be stored.
Create VTTCues directly.

- Also added the new VTTCue as a dependency to grunt when installing
the lib for browser use. This ensures that browsers which don't
implement VTTCue yet can use the library.
- Bumped the package.json version number as this change breaks backwards
compatability.
Merge pull request #92 from RickEyre/texttrackcue

Store cue properties how the TextTrackCue and VTTCue IDLs specify
Create WebVTTParsers with windows instead.

This way we don't have to keep passing in a window object
with every call to parse() or flush(), as in the case when
regions will be added in the future.
Bulk updates to the README file.

A lot of the recent changes didn't make their way into the
README. This fixes that.
Create VTTRegions directly.
Merge pull request #95 from RickEyre/vttregion

Create regions directly
Correct localName in JSON example.

Local names for 'v' tags should be set to 'span'.
Don't try to decode data if parse is handed none.

This bug was found when integrating vtt.js into Gecko.
Updated the lang tests with correct utf-8

Also wired tests into the test harness
Merge pull request #93 from gandriy11/test_lang

Testing language files Closes #46
Merge pull request #96 from RickEyre/parse-fix

Don't try to decode data if parse is handed none.