system: added is_file() and is_directory(); tidy.
test/system/general: assert on first set-dir, set to exec_dir after.
test/system/general: added is_file() and is_directory() tests.
test/system/general: quoted exec_dir in output.