try to use system rebar
update rebar to 2.5.1; Makefile use local one
Merge pull request #37 from grammarly/master

Update rebar to 2.5.1 (fixes work under erlang.mk)