Made a previous change more readable.

Changed the code that escaped input in create_tasks in
todo_server_db.py. It functions in the same way but is less obfuscated.