Feature/make sanity test also run with clang compiler (#353)
* Cleanup runsanitychecks.sh & runtests.sh with shellcheck
* Add executable writes on runsanitychecks.sh & runtests.sh
for easier use of scripts.
* Correct sanity tests to use gcc and clang compiler