upgrade to TS compiler 0.9 beta

updated compiler to beta (6/6/2013), emitter, declaration local units.