refactored current_term() to be much more efficient.
Merge branch 'dev' of github.com:attendanceproject/djattendance into dev