Mayor fixes to make import compatible with islandora batch api