Added ignore whitespace support when generating diffs

Includes tests :smile: