Added in what could be the right implementation of the node_export hooks. A lot of code drawn from i18n module to match up nodes with their tnids