HBASE-12145 Fix javadoc and findbugs so new folks aren't freaked when they see them

Fix javadoc warnings.

Fixup findbugs warnings mostly by adding annotations saying 'working as expected'.

In RpcRetryingCallerWithReadReplicas made following change which findbugs spotted:

-        if (completed == null) tasks.wait();
+        while (completed == null) tasks.wait();

In RecoverableZooKeeper, made all zk accesses synchronized -- we were doing it
half-ways previously.

In RatioBasedCompactionPolicy we were making an instance of Random on
each invocation of getNextMajorCompactionTime
HBASE-12078 Missing Data when scanning using PREFIX_TREE DATA-BLOCK-ENCODING

Signed-off-by: Andrew Purtell <apurtell@apache.org>