update: Added rebuild_raw_todo function and a test

* rebuild_raw_todo function shall be used for rebuilding the raw_todo
  from altered data the task has in itself.