Make AssertionFailedError exception implement Serializable instead.

Prevents serialization of arguments in exception stack trace, by serializing a copy of the stack trace without 'args' only.

See http://fabien.potencier.org/article/9/php-serialization-stack-traces-and-exceptions