Fixing spacing issues and formatting for CodeSniffer errors

I think I corrected everything we discussed, but since I had updated so many files already, it's very possible I missed some. Let me know if you notice anything, and I can get it fixed right away.