Added a rebar.config file

I added a rebar.config file, so this can now be built with rebar or included in another project via rebar