Changed all usages of the depreciated ".className" to ".type" that were ...

...being used on objects returned from the getTokenAt() method. There are many ".className" references that refer to the name of the CSS class, and all these were left alone. Also, any uses of ".className" in the third party code was left alone as well.

This is for Issue #3676