Allow adjustable logging levels from env

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