Fix regions without newlines to be parsed.

We need to synthesize the end of the current cue or region when
calling flush().
Merge pull request #69 from RickEyre/issue48

Fix regions without newlines to be parsed. Closes #48.