Add Ajax function to todolists.

The values of the edit/new Form for todos are now set via jquery/ajax to avoid a page reload.