run_tests.sh: cleaned up logic

I've started splitting all the modules out so they can be compiled on
their own. Also I do the compile tests without ert so each can be done
in isolation.

This also simplifies the --daemon stuff as I just have it run up twice
now, once with bare bones and once with all packages.