Fix some bugs + add editable flag on task

Fix some bugs with droppable task
Add the possibility to "lock" a task (can not be moved, extended or
deleted)