A simple replacement for NSHashTable and NSMapTable for iOS < 6.0