Fixed checkBaseURL to properly generate URLs given a <base> tag
Added a new test file for the base tag
Recompile files
Generic base reference, updated dest files.