add basic tests for modelview localization, fix issue #692

Armin explains the issue here: https://github.com/mitsuhiko/flask/issues/812#issuecomment-21778018

I used the unicode() fix he suggests and added a few basic tests.

Also fixes issue #659.