Made RecentlyUsedContainer.keys() thread-safe on Python 3, removed unnecessary copy on Python 2
Merge pull request #485 from abacabadabacaba/master

Small fixes to RecentlyUsedContainer (improved thread-safety in Py3).