Implement task priority
This PR adds a priority field to tasks and updates the frontend to display and sort tasks by priority.
Changes:
- Update Task model with priority field
- Modify task creation and update routes
- Update frontend to include priority in task form and display
- Implement task sorting by priority