refs #127 Add scoped_malloc class
This is a big commit with stuff to get rid of
fixes #132 Calculate size delta statistics once during the partial
eviction callback
fixes #142 Always use quicklz when partially evicting an internal node
partition
fixes #140 Pre-size the fifo before appending data during nonleaf
serialization. Assume the fifo is about 1kb larger than the read buffer
(in practice, the fifo is 5 bytes smaller than the read buffer).
fixes #130 Create the message trees without an underlying array when
first creating a nonleaf childinfo. Later, deserialization will replace
those empty OMTs using the create_from_sorted_array() constructor.
Remove dead code
Add local thread id to the frwlock to simplify debugging pair-lock
related pileups.
fixes #145 Add a finalize continuation to the partial eviction callback
which encapsulates the 'function ending' behavior of eviction - changing
the pair's attribute and releasing locks. After finalize continuation,
it's safe to do expensive resource deallocation (but contract forbids
continued use of the ftnode, since it's not locked)
fixup

Conflicts:
	portability/memory.cc
refs #146 Add a context class for tracking what a thread is doing.
Conditionally compile in query histograms

Conflicts:
	ft/ft-ops.cc
Implement thread_local in a gcc-4.7.2-friendly way
Do not compress internal nodes before evicting
Do not send commit messages for fractal tree update commands
Add accounting for long input buffer wait stalls
Parameterize the partial eviction strategy for nonleaf nodes and add a
parameter for whether leaf nodes get written out on flush.

Conflicts:
	ft/ft-ops.cc
Remove cruft - this commit needs to die