Modify change hunk regex

Change hunks don't always end with newline characters. I added
another a fixture + tests to ensure HTML is generated properly
when given a different kinds of diffs.
Improved regex
Merge pull request #5 from chrisledet/encoding

Improved chunk scanning.