Implemented type extensions (extends keyword)
replace Object.keys() polyfill by a simple loop on object keys
Merge pull request #5 from vondacho/master

Implementation of type extension