Minor fix ups to the Maven build process.
Fix probe "loss" on NonRecoverableException

If a .META. or -ROOT- lookup for a probe request leads to a
NonRecoverableException (eg. when the region server serving either
is down, leading to an underlying RegionServerStoppedException), the
probe's callback (RetryRPC) is not executed. Now, if an upstream
request comes in and sets the meta cache to a stale entry, all further
requests will go to the wrong the regionserver and NSRE. The cache entry
for the region is never deleted as that is the responsibility of the probe,
which is now "lost"! The bug manifests itself at the client in various
ways, like the client hanging up on regionserver restarts or continuos
PleaseThrottleExceptions even after the Region is back online. This
patch fixes the issue by triggering the callback when there is a
NonRecoverableException for a request.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Fix the code used to serialized WritableByteArrayComparable.

The code was wrong but worked by chance because the second
code was set to 0 (NOT_ENCODED), and HBase actually uses the
second code to know what type the object really is.

So this is more of a "cosmetic issue on the wire", but better
fix it anyway.

Problem reported by Viral Bajaria.