Fix test AppKernel inclusion and phpcs ignore list on travis