The ruby side of ext_sample

this is the ruby part for ext_sample (https://github.com/rapid7/meterpreter/pull/2)