Finish most terminal functionality for CP 2

git-svn-id: https://subversion.ews.illinois.edu/svn/sp14-ece391/_projects/group14/branches/terminal-driver@15792 1cec0ab5-dbbe-4d55-bb2a-e14ca091d7d0