Move baseURI helper into own file

This is now consistent with the formHelpers file. The baseURI method
is now available on the documentHelpers object.