[Reviewer: Andy] Cedar changes

These changes have added functions to cpp-common that Cedar use, and moved mockdiameterstack.hpp from homestead to cpp-common.