refactor commands to use iife
Merge pull request #129 from jasonLaster/wysihtml

---

Hey, I was just doing a quick readthrough of wysihtml and found that many of the commands followed an iife pattern and many did not. I did a quick run through and wrapped the remaining commands in an iife.

Hopefully, this will lend a little bit more consistency and maybe make it easier to introduce some local organization to the commands... By the way, the project looks great.
Fix some whitespace problems