add local cleanup_sessions task

supports django 1.3+
add cleanup_sessions to tasks.py