Start the client user interface

This is the first commit for the UI and is
quite primitive. Curses is initialised and
there is rudimentary support for switching
to command mode and entering a command.
Merge pull request #1 from tuttlem/feature/ui-basics

Start the client user interface