Integration Request 2

Here's the next pull request with several bugfixes.

Among others:

- Enabled Django's timezone support 
- Dates are displayed as localtime again
- Sorting dates works correctly
- New "T" policy flag
- Full PEP8 compliance with automated checks in test suite