refactored string tokens model
pep8 fix
disabled python 2.6
finished implementing substitutions
fixed ws when non string is last