Use Control-D for quit

On linux / unix based systems, control-D inserts an EOF which should be
read as quitting.
Merge pull request #174 from jpalmer/master

Use Control-D for quit