OfficeDev/PnP — pull request #192 by sgryphon (2014-10-07 02:27:19+00:00)
Title: Taxonomy import that accepts same format file as the web UI

Main change is in TaxonomyExtensions.cs; originally I sorted in alpha order and then added new functions, but the diff was too complex (merge conflict with someone else), so I took their version and then reapplied my new functions without the function reordering.

New functions:
* EnsureTermGroup()
* EnsureTermSet()
* ImportTermSet() - This is an alternate version that uses the same file format as the web UI (not the custom format in the existing Import/Export function); this means it needs the TermGroup to already exists.

Unlike the web UI however, it is designed to be re-run and will synchronise any changes in the file with the term set (including deletions if requested), preserving the existing IDs where possible (so linked fields can remain).

Other minor changes include some cleanup and additional logging in the Create List functionality.