Make the project rebar-aware

With this PR, people can include this erlang app in their own, using rebar dependencies. This project can also be compiled by simply doing: `./rebar compile`