Augmented in memory engine to use a binary tree (LLRB) and implement both scans and capacity measurement and enforcement.

Test Plan: go test

Reviewers: bdarnell, andybons, hrsht

Reviewed By: andybons, hrsht

Subscribers: hrsht

Differential Revision: http://phabricator.andybons.com/D33