add empty check to Model#valid
Merge branch 'develop' of github.com:egloo/eglooframework into develop