replaced primary source for stdlib with actual factor code

YAML is still an intermediate step, but is generated from a very simple
factor parser.  This allows compatiblity with ruby's newer YAML engine.