Move common stuff to a shared module

Make sure the build of any of the modules in the BCD package
includes a reference to kuttaka/core.d or else a bunch of module
compilation issues will appear and cause compilation to fail.