Refactored the import pieces so they can be used to create a course from
a dynamically created manifest, which is necessary for authoring tools.
Some of these pieces will move to scorm-core eventually, leaving the importer
containing only stuff directly associated with importing from a packaged
course.