Fixed #5706: Make all engine core classes extendable

And Fixed #5737: [JSB]Rename cc.TMXTiledMap's getPropertiesForGID to propertiesForGID