Adding inheritance support to createClass

Before, we did not support inherited properties which was surprising and
an unpleasant developer experience. Using for ... in solves that problem
but is much slower. Fortunately we should only be creating classes once
per run time.