issue #20212: Rework project task with it's own independant "Task" model that can be edited independently and correctly from project.
issue #20212: Make sure lock is renewed on save and other misc. fixes.
Merge pull request #334 from jrogelstad/20212

issue #20212: Refactoring of tasks and other fixes.