wip-new-core: Fix error backtrace for the JSON formatter output

The step back trace in not only needed for the print_exception method in StepInvocation, but also for the before_step_result/after_step_result methods. Therefore add the step back trace line when the StepInvocation
is created.

@wip-new-core removed for three scenarios in the json_formatter.feature
Do we need to create dup of filtered_exception here?