'CommandCompletion' + preliminary implementation of 'HistoryManager'

Take attention cause the part of the code referred to history of the commands has been changed.

This is the version which also supports the string as a parameter value.