Add support for BaseDir to reference relative web path

This checks if the razor.email.base.dir path is "~/" format and maps the directory based on the web root. This allows you to use it in libraries outside of your direct web project, and also in Quartz jobs.