PCBC-236: Throw exceptions from constructor

Change-Id: Icc79789124e0422e34ad119cb79f988d817a916a
Reviewed-on: http://review.couchbase.org/26666
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>