added rebar, moved lager to top of rebar.config to fix dependency errors