add conversion of moodle2 books to canvas modules

refactors the following:
 - file name generation into a helper
 - automatic module positioning by the module writer
 - canvas resources no longer require a ident_postfix
 - module_items hold references to resources
 - SecureRandom for unique uuids for identifiers
 - workflow state constants