Merging features/CLI into dev (first pass, can be improved, Issue #59)

commit 81e82dd36a934d6100b564ad54f502620d2ae55e
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Wed Nov 20 10:30:01 2013 -0500

    added user confirmation to quit when server is running, removed live/sandbox choice from create_hit

commit 25fe8d7f79bbf941a7ab22cbb52fd51c869f1d5d
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Wed Nov 20 09:59:09 2013 -0500

    added 'all' option to expire_hit and reject_worker

commit 52c2faaa013356c7b1f2c0600836207d7fde3690
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Wed Nov 20 01:23:12 2013 -0500

    since this is just counting total number of hits, tally seems better than more ambiguous 'check'

commit 161287d8bf13df11a69a8dd94347ff3166695232
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Wed Nov 20 01:21:16 2013 -0500

    no real sense of "getting" a worker... instead "list_workers"

commit c53f262e2d3057952379e6783db2a3e309fde2d9
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Wed Nov 20 01:20:41 2013 -0500

    no real sense of "getting" here... were just listing the hits

commit d6cabae2cf00fa90b144f02ce7a5fafbe6902ba2
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Wed Nov 20 01:19:51 2013 -0500

    given the 'restart_server' command, more logical to 'start_server' 'stop_server'

commit 848573f51a044115b28e02271fd34107fc92b7aa
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Wed Nov 20 01:17:30 2013 -0500

    expire_all_hits command

commit b8288f25fdf4cb6304e809185b21ab02fb033a9c
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Tue Nov 19 22:43:02 2013 -0500

    this sounds like something didn't work, when in fact there may not be hits

commit 9ac3d0bc3c339f12bac1c2901de14ecba617382d
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Tue Nov 19 22:31:07 2013 -0500

    add support for shutting down experiment server on quit

    currently, the command line doesn't properly "reconnect" to an already running server.  as a result better to kill server when psiturk-shell exits so there aren't orphan processes everywhere.

commit 5387c603640e3f84d0c743aa6e4228eba2957030
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Tue Nov 19 16:22:14 2013 -0500

    added server shutdown message and working restart

commit 995f4a41a8979c04fc6a8e970a236701adf11601
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Tue Nov 19 16:16:28 2013 -0500

    fixed issue where long lines would overwrite prompt

commit 206c04ebe2ccfa906853bc4aa23f8c1098378770
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Mon Nov 18 14:18:17 2013 -0500

    added block on commands during server launch/shutdown, live and sandbox modes, and cleaner color function

commit 7601748ae67375824e6e1c4666a6886ef209f9b5
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Fri Nov 15 19:51:52 2013 -0500

    server status updates on empty commands

commit 4e98b10480be304e708156c12a717e855f9791ef
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Fri Nov 15 17:52:52 2013 -0500

    first attempt at saying "wait" when server going up or down

commit 090fd3328387a92416b72c38b32b5f760d3a0267
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Fri Nov 15 16:34:53 2013 -0500

    minor changes to what is printed out when server launches (was too much)

commit 2ddd117790728734c25f0e2d5e06bb34c7ce1f59
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Fri Nov 15 14:31:24 2013 -0500

    changed prompt appearance. Currently slow because checks MTurk server every time

commit e84a0f10887322b6aaf014f7df9d3a667cd262d8
Merge: 59bd51a 20e3a47
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Fri Nov 15 11:54:45 2013 -0500

    create_hit and expire_hit work in sandbox

commit 59bd51a0240137e07feed9ed7b746676d5640824
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Fri Nov 15 11:42:50 2013 -0500

    create_hit and expire_hit work in sandbox

commit 1b07c6f024471629eecf46ea202637cc9b677f76
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Thu Nov 14 12:17:23 2013 -0500

    adding more commands and fixing things...

commit eb724eb79cdc72b657bae1d2ebe535a92ca4b3d6
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Thu Nov 14 11:37:31 2013 -0500

    works with some simple commands

commit 20e3a47763dc6cb2b4956e13ebfbe1b4c9b1a558
Author: Todd Gureckis <todd.gureckis@nyu.edu>
Date:   Thu Nov 14 23:48:03 2013 -0500

    minor indention issue

commit b06f5153edc14823f91541c60c0d7e724985449c
Merge: 3d3f438 53eef77
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Thu Nov 14 16:53:51 2013 -0500

    merging dev (I hope)

commit 3d3f4389801a1477a839bb9d87cc0807ae1c22e6
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Thu Nov 14 16:50:04 2013 -0500

    working on PEP 8 formatting

commit fca7dc88049b76b0bdf056bfdf55e26f8c3e565d
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Thu Nov 14 12:17:23 2013 -0500

    adding more commands and fixing things...

commit 316e92d90256b2779934d53d4c195f1adedd11ad
Author: Alex Rich <alexandersrich@gmail.com>
Date:   Thu Nov 14 11:37:31 2013 -0500

    works with some simple commands