add matrix.import and matrix.rs for lua

Signed-off-by: rainfiel <rainfiel@gmail.com>
Merge branch 'master' of ssh://oa.ejoy.com/ejoy2d
sprite_setframe return total frame