Added UserPermissions to files that have had PHPCS run

Fixed formatting issues with UserPermissions class and added phpcs to travis checks.