Python 3 improvements

This PR is a reprise of #303 - unified support for Python 2 and 3 in configparser, print function, range, and string types. Per the suggestions, PEP-8 now passes on pyrax and samples.