Make compiler more pedantic: enable error status for warnings

Enable Error status for warnings, according `rebar.config` options ```{erl_opts, [no_debug_info, warnings_as_errors]}```