Purge and delete modules before compiling them

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
Also purge and delete during tests

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>