Update model task.php

Added function for loading a specific task based on task id.