WIP docroot
Completed docroot implementation and tests
Documented docroot magic variable