Add phpcs.xml to pass composer

Also fix some phpcs issues and mark the rest to ignore

Change-Id: I01f3ec9af61090c656d80444b38368364a29e436
12 files changed