Merge branch 'release/1.0b7'
add composer install to travis.yml
gitignore
git ignore
add some useful static method to model