Option to show console with global context after script execution

This is an implementation both for two modes: run and debug. 

1) For run mode there is run_in_console.py script that creates a console then runs the script and passes script globals to the console.

2) When --cmd-line option is passed to pydevd.py process is not terminated after script execution but notifies IDE that console must be shown and waits for debugger commands.