BUG-15237 Task Information on Case Information Menu not working SOLVED

- For the task completed the index and task_uid was wrong.
- A validation was added looking those id's, in file cases_Open.php.
- A validation was added for case paused.