Added php codesniffer.
Added travis ci config.