Scripts run_unit_test and run_all_tests are returning proper exit values

... that's good for testing automatization. PHP4 compatibility has been dropped off in run_unit_test