configure and unit test callers rewritten

configure script is back to being a bash script
unit tests callers in tests/ and inst/unitTests simplified using more logic from RUnit