Add deprecated macro

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