Phoenix-180

A fresh pull request with all the changes for guideposts. 
Tested in a single cluster for different combinations. 
"SELECT count(*) FROM  %s WHERE host='CS' AND domain='Apple.com' AND FEATURE >= 'Dashboard' AND FEATURE <= 'Report';" % (table)) 
With 5000000 rows
Withoutpatch
===========
COUNT(1)
----------
    555169
Time: 2.264 sec(s)
Withpatch
=========
  COUNT(1)
----------
    555169
Time: 0.813 sec(s)

Withoutpatch
==========
  COUNT(1)
----------
   1002201
Time: 1.889 sec(s)
Withpatch
==========
  COUNT(1)
----------
   1002201
Time: 1.075 sec(s)

Am sure we would get better results if we are able to tune the guidePosts width so that instead of fetching in the range of 1000s inside a region we can fetch 10ks of result in every chunk.  Also should work with bigger tables and more rows.
The tests were performed with 256*1024 and 1024 * 1024 as the guidepostsWidth size. 
The main thing you can observe in the above case is that the query targetted to single region is parallelized and distributed to smaller chunks and so the work done by every thread is less. 
Getting NPE 

    java.lang.NullPointerException
	at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:845)
	at org.apache.hadoop.hbase.util.Bytes.toShort(Bytes.java:832)
	at org.apache.hadoop.hbase.KeyValue.getRowLength(KeyValue.java:1303)
	at org.apache.hadoop.hbase.KeyValue.getFamilyOffset(KeyValue.java:1319)
	at org.apache.hadoop.hbase.KeyValue.getFamilyLength(KeyValue.java:1334)
	at org.apache.hadoop.hbase.CellUtil.cloneFamily(CellUtil.java:69)
	at org.apache.hadoop.hbase.KeyValue.getFamily(KeyValue.java:1559)
	at org.apache.hadoop.hbase.replication.regionserver.Replication.scopeWALEdits(Replication.java:247)
	at org.apache.hadoop.hbase.replication.regionserver.Replication.visitLogEntryBeforeWrite(Replication.java:231)
	at org.apache.hadoop.hbase.regionserver.wal.FSHLog.doWrite(FSHLog.java:1487)
	at org.apache.hadoop.hbase.regionserver.wal.FSHLog.append(FSHLog.java:1023)
	at org.apache.hadoop.hbase.regionserver.wal.FSHLog.appendNoSync(FSHLog.java:1054)
	at org.apache.hadoop.hbase.regionserver.HRegion.processRowsWithLocks(HRegion.java:4985)
	at org.apache.hadoop.hbase.regionserver.HRegion.mutateRowsWithLocks(HRegion.java:4881)
	at org.apache.hadoop.hbase.regionserver.HRegion.mutateRowsWithLocks(HRegion.java:4863)
	at org.apache.hadoop.hbase.regionserver.HRegion.mutateRow(HRegion.java:4854)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.mutateRows(HRegionServer.java:4420)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.multi(HRegionServer.java:3373)

While trying to add HTable.mutateRows().  Even a normal put when passed thro RowMutation i get this issue in 0.98.4.