Retab #2212

Retabs #2212 completely.

This is also an experiment for rapid retabbing pull requests from the @tabassassin user. Steps to reproduce, assuming **origin** is @tabassassin's repo and **upstream** is rapid7's.

````bash
git checkout -b retab/2212 --track upstream/pr/2212
git merge origin/retab/base
tools/dev/retab.rb modules/post/windows/manage/smart_migrate.rb
git commit -a -m "Retab smart_migrate.rb module" --edit
git push origin
````