Set line buffering (helps for windows) on tests

Change-Id: Icb50a11f4fa0539215f0243510ab1fc3b39bb503
Reviewed-on: http://review.couchbase.org/35165
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>