Add rxgk_token.c

Routines for constructing tokens (both regular and printed), and
helpers.

Change-Id: I0cde7fd0cdf9a27777523cd502b21bdccef41dcc