Refactored cgTicks

Simon didn't like cgTicks, so here's a version that splits it into
cgTick and cgTicksHeapCheck.
Added Dwarf C files

Oops