[CLI] abstract history_t from cli. single history_t object for now.
[CLI] decouple history buffer from CLI buffer