Added priorities to tasks

Tasks now have three priorities: low, medium, high.

Change-Id: Ie104f3d7bfb0bb131c71cfdfe277522637712c0f