Fix rebar.config and rebar.proper.config

* use correct -Werror atom
* debug_info is enabled by default, omit in erl_opts