allow to add files in dot-directories and host profiles

This include both merged features (updating https://github.com/jbernard/dotfiles/pull/11).

Any bug reports appreciated. Works well for me. Both features have corresponding unittests.

Splitting both features in separate patches involves some more (useless?) work, but if you like, I can do it.