Added functions for creating context diffs and unified diffs.

Documentation update and NEWS item are forthcoming.
1 file changed