Add priority for Task

Priority is an optional integer field with range [0,3]. Where:
0 - priority is not set
1-3 - actual task priority (3 is the most important)
Fix bug #1