add codesniffer
fix cs violations
add cs to travis config