Add integration tests to test chained exceptions
Merge branch 'master' into raven-3.x
Fix the infinite loop in buildStackTrace