Do some PSR-2 updates for the ui

Ran the PHP_CodeSniffer on numerous UI files and fixed a number
of issues. More updates to follow.