added get groups function in models which returns list of groups in which user is a member
Merge branch 'master' into adding_get_groups_func_in_models

added function in models in a new branch before pulling master to local
added get_groups method
Merge pull request #46 from agiliq/adding_get_groups_func_in_models

Adding get groups func in models