clean up some useless code in TaskMapBase
add tests for TaskTreeItem
implement Manifest to adapters;
do_createTask now returns an (ok, error) pair.