sys/console: Add history provider api
sys/console: Add history provider api

This adds set of functions to manipulate console history.
Three functions prototypes are provided
- console_history_add() to add new lines to history
- console_history_find() to move around history (back/forth/search)
- console_history_get() to get date from history

This is base for different back-end implementations of history.

mlaz/mynewt-core,mlaz/mynewt-core,mlaz/mynewt-core,mlaz/mynewt-core,mlaz/mynewt-core