Work toward Python 3.4 support and testing

Change-Id: Iadb1b695b8314d385716619561a1604a41f6c8d5
(cherry picked from commit 7a091ce8ede2fd4072167f0bd78293d76008942f)