Modification in term app

**Modification**
* Additional checks are kept to check while storing the term instances , to avoid incorrect data.
* Also included topic ST in the member_of fields , to list the term instances along with topic instances together in the group.