Improve documentroot handling

Documentroot can be set as a list of paths too,
and also as a simple string

----------------------
branch [[master]]