add get_groupinfo api

1. add get_groupinfo api
2. add groupmaster to push message
when `GroupOwner` is empty, the attibute `master` should not be added.