Compatibility with Django 1.5.5 and superior

Fix:

 - Use simplejson just if Django is less than 1.5 version.
 - Use django-localflavors app instead of django.contrib.localflavor that is removed in more recent versions of django