Removed python2.5 and pre django 1.4 code.

Django 1.5 will be released soon.
With the new release Django 1.3 is deprecated.
Also removed tests that went with the 1.3 code.