LogLog unit tests.

Adding unit tests for LogLog cardinality estimator. Copy/paste of HyperLogLog unit tests along with some specific modifications for the LogLog estimator.