Provide stack traces on Exception objects when available.
Merge pull request #313 from ProdigySim/wrapped-exception-stack

Provide stack traces on Exception objects when available.
Fixed bug causing incorrect state machines to sometimes be generated for switch statements (#316)
Merge remote-tracking branch 'upstream/develop' into develop