cs fixes

ran the php-cs-fixer with the defaults. it cleaned a lot of
errant trailing spaces and a few ifs
Merge pull request #9 from jrobeson/cs-fixes

cs fixes