Add @medium tags so tests dont fail when running with strict mode

Change-Id: I13991104c291c3b4a8a2f2f71a0ddb858a2681c3
Only install php-coveralls on TravisCI when it is actually needed

Change-Id: Iec9a6a0a283b8cd2fa05e10521fb15c88a703c72