Add parsing of chained exceptions and optional verbosity

This is an alternative to fabpot/Silex#613. It parses chained exceptions, and additionally allows a stacktrace to be output if debug mode is enabled, and a new optional flag has not been set to false.