added a function to calculate current term for trainees in accounts.py
Merge pull request #68 from attendanceproject/calc-term

Added function to calculate current term of trainee