Fix "local variable 'data' referenced before assignment" at gzip_handler.py #2482
* Fix LRU race condition: del self.d[item.me[0]] #2420, classic TOCTOU stuff
* Adding test cases for LRU