Debugging improvements + RSpec integration

See the changes to the README for details of what this branch adds.