ExecuteReplCommand should use IConsole

Fixes #262