phpDoc and code style.
Fix travis badge in README.md.