Support diffs with no hunks

Also fix a case where "No newline at end of file" can appear in the middle of a hunk.
Increment version to 0.1.2
Merge pull request #4 from mulby/fix-4470

Support diffs with no hunks