[Python 3] Remove unnecessary occurrences of .keys()
Summary:
The following cases are covered:
- for key in dict
- if key in dict
- len(dict)
This will make life easier for futurize.
Reviewers: machniak, mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3235