Add rebar3 support
Add rebar3 support

This patch adds a `rebar.config` file to call the `Makefile` for code
generation before compiling. This allows the library to work as a
dependency in rebar projects.

klarna/kafka_protocol,klarna/kafka_protocol