Make the project work with Django 1.6

In this version Django change the import path as specified in the release notes

 https://docs.djangoproject.com/en/1.6/releases/1.6/

Also added explicit dependency with the ``pillow`` library (``PIL`` usage is deprecated).