Moved prediction-related functions into their own file, as they start to get numerous
Added extra high-level logging hooks
Moved out lots of dependencies from the cram_beliefstate bridge
Moved all hook definitions into common package namespaces