[ANALYZER-2285] - Integrate D3 Protovis Replacement framework into CCC
* More cgf.Template#spawn / cgf.TemplatedElement#refresh unit tests. Some fixes to the code, as well.