add extents function to instance for check object's base
add lua demo 2d platformer
Merge branch 'lua-dev' into develop