Add non interactive mode.

Added non interactive mode, useful for running automated tests. Had to get rid of python wrapper shell, as it would stay if lldb quit.