Add support for specifying a codeurl config variable

This is now used by default in the footer for linking to the source code
the documentation represents.