And incidentally fix some msftidy complaints
Also adds binary coding magic comment to a few files
Makes it work when using meterpreter. Because "quit" or "exit" in the console ends up calling die() instead of falling through to whatever's left in the file, a meterpreter session would never reach the code to delete itself before this change.
And use it in three modules that had copy-paste versions of the same idea.