tests passing with on heap incremental index
code cleanups & formatting
make tests parameterised
a whole bunch of cleanup and fixes
Introduce buffer size
consider mapped size in limit calculation & review comments
fix size calculation
Fix Hadoop CLI jobs
* Change "schema" --> "spec" for cli hadoop to keep up with internal hadoop
* Added check for HadoopDruidIndexerConfig deserialization from Map to see if it is trying to get a HadoopDruidIndexerConfig or a HadoopIngestionSpec
update joda-time and fix min/max instant
update jackson to 2.4.4
upgrade LZ4 to operate directly on ByteBuffers
write byte data as is in smile
use property for jackson version
SSL-capable ServiceEmitter.
Replace google-http-client imports with real guava imports.
Fix confusing error message in HadoopIndexTask
IncrementalIndex throws exception if limit exceeded

- For now uses a hardcoded ratio of aggregator to timeanddim buffer sizes
- canAppendRow is a workaround for realtime index since the
Firehose currently does not have a way of rolling back the last event in
case of error
- canAppendRow needs a fudge factor; there is a race between checking
if we can add a row and actually adding a row, because of the way MapDB
reports its size.
add code to release ByteBuffers
Merge branch 'master' into onheap-incremental-index
fix buffer pool usage