Support nested exceptions for Ruby 2.1. Fixes #118.