Added compatibility with django 1.7. Bumped 0.3.1