Add support for upgrading Linux shells to Meterpreter

These changes, in addition to a minor tweak to bmdstager/bourne.rb add support for upgrading Linux shells to Meterpreter.