Add testing for Django 1.2, 1.3 and 1.4 with some fixes.