Make building simpler.  Also, use cooked vs raw console.
Remove platform-dependent pkg dir.
Add readline support
Vendor readline and terminal library
Merge pull request #1 from sam-falvo/line-oriented-input

Line oriented input