Provide a fallback ROOT_PATH

If unable to detect the root path, provide a fallback ROOT_PATH setting to `./`. This is likely to happen if run from the commandline (like for crons) or if DOCUMENT_ROOT and the folder of main.inc.php seem to have nothing in common

Fixes #704