corrections in test suite

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