Python 3 fixes

Makes django-nose Django1.5/Python3 compatible. Includes some changes automatically made by `2to3` that are not required for Python2 but don't hurt either (assuming only Python >= 2.6 compatibility is required). This way it's not necessary to run `2to3` on the codebase.