status: fix staging of untracked directories

When status-update is used on an untracked directory the whole directory
is staged using git-add. This also fixes status listing to not list
empty directories when content of untracked directories is not
displayed.

Fixes #236