NCBC-256: Throw exception when lock timeout is out of range

Change-Id: Ibb97a751d5fc6f6dfdb029c01d17c7211084c5c9
Reviewed-on: http://review.couchbase.org/26014
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>