Implements a Dolfin compatible Parameter class and the logging functions

Should only be merged after the purge_testharness branch.