* Replace string.find(a, b) with a.find(b)
* NamedTemporaryFile: open file in text mode rather than opening it
in binary mode.
* Module.process_contents(): if contents is a Unicode string, first
encode it to UTF-8 before hashing the content to MD5.
* ClusterController: replace dict.items()[0] with next(iter(dict.items()))
* tox: run the following tests on Python 3.4
- mysql/test_common.py
- taskmanager/test_models.py
- module/test_module_models.py
- test_cluster_controller.py
Partially implements: blueprint trove-python3
Change-Id: I5372520f9717b4f0279c4b436ca88c160ddf894b