Split out version and logging facilities into their own source files from base.scm.