Add command history to cli

Use up/down arrows to cycle trought it
Merge pull request #4 from davibe/development

Add command history to cli