Add erlang.mk and include it in Makefile
Use erlang.mk for handling deps instead of rebar