dirstate: use a `added` parameter to _addpath...
dirstate: use a `added` parameter to _addpath
My next target are the explicit `state` byte, so let start with abstracting
their initial storage.
Differential Revision:
https://phab.mercurial-scm.org/D10967