Replaced GetAllGrants(GetAllTokens()) syntax

it was just horrible, this is a lot clearer. Also made everything like
that (basically GetParentTokens) non-static