Thanked revision to be stored both server side in the session and client side
in a cookie. Thanked revisions found in either storage solution will replace
their 'thank' link with the string 'thanked'.
Bug: 46690
Change-Id: I976cd8fbf00856c67b77daeb0d0a952efb371661
* Update doc block
* Use names that indicate the variables are passed in, not used as globals.
Bug: 46585
Change-Id: I0f15498ab1fba239bce141b178340a9d9984bedf