Made to be Python3 compatible, uses the six module for most of the help
Fixed QuerySet iterator functions to support Python 3.