Merge pull request #5 from chrisledet/encoding

Improved chunk scanning.
Merge pull request #7 from chrisledet/generate_fix

Fixed generated HTML for edge case chunk.
Merge pull request #8 from chrisledet/generate_fix

Fix for blank diffs
Merge pull request #9 from chrisledet/generate_fix

Fixed line number generator