Generalize backtrace check on DelegationError.

Different Ruby implementations present the backtrace differently, as it should be an information consumed by humans. The interesting line might not be the first, so the check has to go through the entire backtrace to find it.

Fixes issues with Rubinius which, in addition to user-space backtrace, also prepends the one from internal classes.

/cc @dbussink