Patch Django 1.4 on Python 2.7.4 or greater

This fix provides a patch for Django 1.4 to get rid of
the issues with django.test.assertContains in the py27dj14
test environment.

Change-Id: I4c7a225ef1095999f7c109e77c95e1a6fe04db8c
Closes-Bug: #1273943
Merge "Patch Django 1.4 on Python 2.7.4 or greater"