Added a basic history API and app. Still need to integrate with shell/line editor.
Merged history branch with local master
Fixed conflicts