Change GetChanges into Transform

Transform returns the updated source. This is easier to pass into
MonoDevelop than a list of ranges.