Add bt.rb helper for exporting BT traces from ruby
Add bt.rb helper for exporting BT traces from ruby

This allows ruby scripts running inside a BT context to give BT more
detailed information about things happening inside the ruby script
itself.

Code written by @charliesome, added here with his permission.

simonsj/bt.sh,simonsj/bt.sh