bug 1710: -Y cmd-line flag to allow control of stdin checking
bug 1710: -Y cmd-line flag to allow control of stdin checking

Found by Manik Taneja.

Use the following to have moxi exit when stdin closes...

  ./moxi -Y y [...other flags...]

With this change, by default, moxi no longer watches its stdin.

Change-Id: Ia080366cc8f5d43f57d1416c24d21f40e908b88b
Reviewed-on: http://review.northscale.com/1151
Tested-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

couchbase/moxi,membase/moxi,zbase/moxi,couchbase/moxi,membase/moxi,steveyen/moxi,couchbase/moxi,membase/moxi,zbase/moxi,steveyen/moxi,couchbase/moxi,steveyen/moxi,membase/moxi,steveyen/moxi,couchbase/moxi,steveyen/moxi,membase/moxi,couchbase/moxi,zbase/moxi,zbase/moxi,membase/moxi,zbase/moxi