Update global-constants-and-functions.rst

Improved the wording and included that it will include the trailing slash for you. So if you are doing APP . WEBROOT_DIR you don't accidentally include an extra DS.