switch to the JavaScript prototype model

-- Thread.kill now supports instances of ThreadGroup
-- ThreadGroup now takes a parameter in the constructor, where you now can pass threads
-- private vars are now collected in the property __props__