Use with open(...) for peace of mind

Fixes some more of those ResourceWarnings
Avoid DeprecationWarning about logging.Logger.warn()
Brown paper bag fix: install_requires was empty on Python 2.x
Pin newer ZConfig to fix some ResourceWarnings
Use with open() in more places