Make tokens more useful

This suggestion is not directly related to the features which have been announced for this patch, but it’s been on my wishlist for awhile and this seems to be about as good of a place and time as any.

As of right now, from my experience tokens are usable only for text/string values, or more specifically, values which are not numbers. I don’t know why it works the way it does currently, but if we could have tokens define boolean, integer and floating point field values, that would be nice.