DRILL-3930: Remove direct references to TopLevelAllocator from unit tests
Ensure RootAllocatorFactory is used throughout the code so
that we can change allocators via configuration or software. Use
DrillAutoCloseables to handle exceptions that could happen from some
allocator close() calls when the allocator is in an improper state.
this closes #200