msfvenom fix and code refresh

msfvenom no long breaks the script.  Also changed a lot of code style
to align with the ruby style guide.