Moved several import functions to imports.inc.php

bookImportFullCheck, doesBookAlreadyExist, and followPath