Avoid doing two calls to messagegroups api

Storing the data in a promise in the prototype now since
I don't know a better place. I don't like how the data
is stored many times in different places.

Change-Id: I60b78b6d90dd121c5f84500778778de30bcb4fa4
Merge "Avoid doing two calls to messagegroups api"