Added Document Root '-r' config option.

This points to valid path from where files will be served. By default
this is always the directory returned by getcwd(), i.e., the working
directory.
Validate that document root directory exists.