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.
Merge pull request #1491 from davidyell/patch-2

Update global-constants-and-functions.rst