Add PDF to DOCS build and a couple typos in SDML.
Added documentation for the BASENAME and FILEVERSION builtins.