Now PageModel::addItem can receive a parent index
Summary:
This new parameter is ignored for notes, but in case of tasks it allows
to directly create child tasks. PageView is also adjusted to pass a
valid parentIndex only if a single item is selected in the central view.
Reviewers: bensi, franckarrecot
Differential Revision: https://phabricator.kde.org/D609