Bug fixes for Travis file

Only run codesniff on php files
Show progress of PHPCS on Travis
Fix typo for pear install code