Fix input files processing (cling foo.c should work now)
Adding test for ROOT-6244 (test_exec_in_same_dir.C)