Fix PHP 5.4 syntax
Use shields.io for travis badge.