Added WEB_DATA_PATH and fixed WEB_COURSE_PATH in main_api to fix issues with document templates
Fixed issues with documents templates not loading the right directory - refs #5871
Added REL_DATA_PATH to api_get_path() - refs #5871