add a simple enum concept
Merge branch 'master' of github.com:fireball-x/core
update