Tweak rebar.config template

Add compiler checks, and eunit output format