Fix wsgi for production environment
Make view usable in python 2.6

subprocess.check_output is not available in Python 2.6. So we need to
use subprocess.Popen with exception catching instead.
Fix utf8 characters in field values

For a completely unknown reason, we need to encode the texoptions in
ascii before processing them.
Disable debug mode in production