CBLT-202:  fix log capture, also capture javadocs creation and zip

           hint:  ( foo.sh 2>&1 ) >> $LOGFILE

Change-Id: Ifaa18f4ca89ea2209973dc339e5e70d4fa70f3f8
Reviewed-on: http://review.couchbase.org/34784
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>