2to3: Change use 'has_key' to 'key in'.

Part of the 2to3 project.