Add logging to background module test

Adding some message logging to the cvmix_background tests required a little bit
of code rewrite - the stand-alone drivers need to be in modules so I can pass
pointers to the root log.