Change convertCueToDOMTree to take a string instead of a cue
Merge pull request #79 from alicoding/issues78

Change convertCueToDOMTree to take a string instead of a cue. Closes #78.
Fix timestamp parsing to be spec compliant.

- Store timestamps as numbers representing seconds.
- Fixed timestamp regex to be compliant to spec.
- min-top-digits.vtt is valid according to the parsing spec.
Merge pull request #80 from RickEyre/time-stamp

Fix timestamp parsing to be spec compliant. Closes #44.
Update README to reflect convertCueToDOMTree changes.
Update keyword-middle.vtt

Don't know if the typo was on purpose, since the default value is 'middle' or if this was a mistake in the test
Make vtt.js usable in a browser, add WebVTTParser.StringDecoder for string data
Make node v0.8 happy by not specifying encoding object in readFileSync (defaults to utf8)
Updated FakeWindow to have a Document property that can create text nodes and elements.
This commmit should address all what is needed to fix issue #81
Merge pull request #83 from cconcolato/patch-1

Update keyword-middle.vtt
Merge pull request #85 from marcussaad/master

Updated FakeWindow to have a Document property that can create text node... Closes #81
Merge pull request #84 from humphd/browser

Make vtt.js usable in a browser, add WebVTTParser.StringDecoder for string data
Update README.md to have times stored as numbers.
Update README.md to have times stored as numers.

Didn't see this example had the old time format as well.
Remove extraneous whitespace.
Remove redundant continue.

Was caught by gwagner while reviewing vtt.js for integrating
into Gecko.
Style fix.

There must be a space between 'if' and the first
'('.
Add brackets to ifs with multiline comments.

This was done as per gwagner's review requests for integrating vttjs
into Gecko.
Fix issue where nested cues were not being parsed.

Issue was with the ShouldAdd function which would return false for
tags that did not have an entry in the NEEDS_PARENT list.
Merge pull request #87 from RickEyre/should-add-fix

Fix issue where nested cues were not being parsed.