Better docstring for process_pdt
Cleanups (no functional changes)
Fixed deprecation warning on Django >= 1.6
Fixed some tests to not depend on previous warning filters
Small cleanup