Remove __future__ imports that were required for 2.5

Note that we dropped support for Python 2.5 in 0.18.0.
Fix formatting (PEP8)
Fix broken indentation
Use "is True" instead of "== True" (PEP8)