Fix when Model call setSchema("") bug
Updated
Use PHALCON_IS_NOT_EMPTY
Fix memory leaks
Merge pull request #1291 from sjinks/memleaks

[1.3.0] Fix memory leaks
Merge pull request #1230 from dreamsxin/model

Judgment schema_name is not NULL, to judge is not empty