Add a new method to get website's document root.
Stop using realpath() and rely on the library to do that.
Add a new function to test whether a top directory contains a child one.