Class LRUCache

This cache is better than the simple cache (above) if you're running a
web crawler or other process that does a lot of resolutions. The
LRUCache has a maximum number of nodes, and when it is full, the
least-recently used node is removed to make space for a new one.