Support {@docRoot} tag for header and footer

The {@docRoot} tag is replaced by the relative path to the documentation root
directory. It allows to include images placed at the root even if documentation
pages are nested in several folders.

It will be replaced if found in header and footer text.