bug fixes including upgrade of timepicker javascript to allow null - updated from github rather than the yii extentsion
shifted action_to_labour_resource_id from data to task