Add execution of repl commands

If result of user input is a Solr commands, it will execute it and pass
a result.