Add total percentage and compile from beams

Switch to cover compile beams
Added hackery to be able to output cover analysis for all modules by
temporary moving the original source so cover can find it. Now it can
compile from beam, which is faster and safer than recompiling the world.
Cleans output directory.