Refactor
Start porting ImportExport code
Legacy IE base code works
Convert FieldPluginManager to generic and add tests
Convert other managers to generic.

Needs some debugging
Fix
Move code around
Nan fix
Clang fix
Closes #389