add query for updating TermStatus in TermFreqTable
Add code:
   . when sending the term list to client, check TermStatus; unlocked
term only (term status = 0)
Merge branch 'TermTable_Flag' into phase2