Title, description, style, and syntax fixes for PR3563

This fixes several code style and syntax issues discovered in @KoreLogicSecurity's module submitted as PR rapid7#3563. Please take a look at these changes, test that I didn't accidentally break anything, merge this PR to yours, and you should be good to go. I did have a couple remaining questions on rapid7#3563 as well (about the Automatic target and an unused variable) but they're not likely to be very critical.

Thanks!