Add Rebar files

This is a trivial pull request, I mostly did this for my own benefit, but it might help to have some sort of a build file and Rebar is popular.