A hopefully better Version of $exception->getTraceAsString()

Taken from https://gist.github.com/abtris/1437966