A small fix to make tokens easier to debug

Hello,
I've seen that tokens are initialized as *functions*, which make them impossible to explore with Firebug.
It seems that there's nothing in the code that prevents them to be classic JS *objects* instead, so I propose this change.
I also add a .toString method, so the debugging console explicitly show these objects as being tokens.

R.