Script with rebar installation

I made a little change in script to install the rebar  binaries, wich allow resolve the dependencies of a erlang project
Please, consider to merge in the official box-erlang. Tks!