Fix up code to zend standards and add phpcs to travis