add sr lua interface for matrix

Signed-off-by: rainfiel <rainfiel@gmail.com>
add sprite.hasparent for lua

Signed-off-by: rainfiel <rainfiel@gmail.com>
添加一个 message 接口用于例如原生文本框输入等消息传递
Merge branch 'master' of ssh://oa.ejoy.com/ejoy2d
fix example for add message
register EJOY_MESSAGE for message
Merge branch 'public'