Moved foundation::HashTable away from foundation::Hash and fixed minor bugs.