HBASE-5349 Automagically tweak global memstore and block cache sizes based on workload

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550059 13f79535-47bb-0310-9956-ffa450edef68