Add disabling/enabling of triggers into import process and refactor foreign key disabling.