Hank refactored to use commons's LruHashMap and MemoryBoundLruHashMap

Some changes necessary to the commons classes.