[ANALYZER-2285] - Integrate D3 Protovis Replacement framework into CCC

* Set of updates to CCC and def
    * Removing CCC's casts.js file
        * Moving number parsing functions to def.'s
        * Changing uses of pvc.castNumber to def.number.to
        * Changing uses of pvc.castPositiveNumber to def.number.toPositive
        * Changing uses of pvc.castNonNegativeNumber to def.number.toNonNegative
        * Making sure cast functions of OptionsMgr do not receive a second argument.
        * Changing uses of def.number.as to def.number.to (what it should have been)
    * def - reintroducing def.fun.typeFactory
    * def - def.OrderedMap now supports cloning from another given in the constructor
    * def.isSubClassOf and def.is - added support for factory functions annotated with the type of object they create.
    * def - mixins can now provide init and postInit methods to the receiving class.

@pamval please review.