corrections in test suite

fix memory allocation flaw in t/osmfile/test_read_and_write
improve "clean" target in Makefile
show valgrind output in run_tests.sh if it detects an error