Support VC11 (Visual Studio 2012)
Support VC11 (Visual Studio 2012)

Add check to detect VC11 and set appropriate output name
Add _VARIADIC_MAX for googletest compilation

Change-Id: Ie3bac435946d240454a6506e4612c6fc8d1781ed
Reviewed-on: http://review.couchbase.org/28029
Reviewed-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>

trondn/libcouchbase,avsej/libcouchbase,couchbase/libcouchbase,maxim-ky/libcouchbase,uvenum/libcouchbase,uvenum/libcouchbase,kojiromike/libcouchbase,signmotion/libcouchbase,kojiromike/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,senthilkumaranb/libcouchbase,mody/libcouchbase,mody/libcouchbase,trondn/libcouchbase,uvenum/libcouchbase,mody/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,mnunberg/libcouchbase,PureSwift/libcouchbase,senthilkumaranb/libcouchbase,trondn/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,maxim-ky/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,PureSwift/libcouchbase,senthilkumaranb/libcouchbase,mody/libcouchbase,trondn/libcouchbase,couchbase/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase,couchbase/libcouchbase,maxim-ky/libcouchbase,avsej/libcouchbase,senthilkumaranb/libcouchbase,couchbase/libcouchbase,trondn/libcouchbase,signmotion/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,PureSwift/libcouchbase,uvenum/libcouchbase,PureSwift/libcouchbase