Fixed bug with token namespacing.

Wrong implementation for token namespacing. Tested with json.pp (but
without unit test). One improvement has been made: the message for a
Circular Reference is much shorter. And one new feature has been added:
`true` can be passed as second argument to getTokenPaths to display the
names of the tokens rather than the values.