Resets console history when changes exercise
Changes sys fd and saves console output
Fixes traceback printing
Uses locals vars saved on cookie
Changes code execution to use just the console
Fixes broken test
Merge branch 'feature/respect-locals' into develop