Catch submit event of form to create and edit task

This allows to use « enter » to create or edit a task because there is
a new event caught, the submit one.
Merge pull request #178 from FlorianBezagu/use_enter_to_create_task

Catch submit event of form to create and edit task