Reformat codes and send mail from travis-ci

[Modify]
- *.php
   * Reformat codes

- .travis.yml
   * send email to dev@risoluto.org when tests finished.