Track writes and deletes, separately from watches

There is only one case where watches are not fired but
the store is updated: when a directory is implicitly
created (cf 'mkdir -p'). To cover this case we track
watches separately from writes and deletes.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>