Better unicode support when passing values to templates.

Hi,

I fixed the pull req Pylons/pyramid_debugtoolbar#83 so that tests for the Python 3.2 and 3.3 pass.

Will write some test, but I need to familiarize with the code a bit more (also fix the selenium test).