Add the list of grants to the identity function

This change adds the list of grants that have been granted to a
consumer to the JSON Web Token which is returned for the
identity call.

Change-Id: I4568e2351cd372e3ca367ac700b6e2600e656b1e
Merge "Add the list of grants to the identity function"