system: made exec_dir() return a StringRef instead of a char*; tidy.
test/system/general: updated exec_dir() test; tidy.
system: added working_dir() and change_working_dir().
test/system/general: added working directory interface tests.