Bug 914220 - Move TypedObject global names into a TypedObject module r=waldo