JCBC-346: Supporting CRAM-MD5 as a SASL mechanism.

This changeset implements support for CRAM-MD5 as SASL mechanism,
by sending a "list sasl mechs" first. Depending on the response,
either CRAM-MD5 or PLAIN will be used.

Regular memcached servers wil make use of PLAIN as before, but
systems that support it (like couchbase) will use the more secure
variant.

The list sasl mechs process will only proceed if the AuthDescriptor
either gets null or an empty list of mechanisms in order to be
backwards compatible, so no changes to code need to be done when
upgrading to a new version.

Change-Id: I7c7e935e4307c181f98e5ff5615b18cba3f403b4
Reviewed-on: http://review.couchbase.org/28292
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com> (cherry-picking from commit e6af57ec27c4a0c2e3447ef9d210fbf8c95ede00)
remove Membase test client
SPY-131: Expose cas with expiration.

This changeset simply exposes the expiration time on cas() without
a custom transcoder and adds tests to verify the correct behavior.

Change-Id: I2fb28d96121c5bd337ec1c33c8e907a13e3a8bfa
Reviewed-on: http://review.couchbase.org/28018
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com> (cherry-picking from commit 5d4daecc878bad88daacd612f7e99213614ff1a2)
append @Override to all main implementations of IF
no Object types in interface
Ignore IntelliJ Idea .idea directory.

Change-Id: Ief5af0aa2267665e763972f39bd27e7ca6894e7b
Reviewed-on: http://review.couchbase.org/28738
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Ignore intellij directory on ant clean.

Change-Id: If564fdb8eee84ff2f1fe39718588bbe5fb98f4a6
Reviewed-on: http://review.couchbase.org/28765
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com> (cherry-picking from commit 903a4535e1dadaada93a92e0ec620668739bf4e1)