Update rebar to 2.2.0 to support the rebar scripts.
Merge pull request #447 from pooya/shayan/rebar_update

Update rebar to 2.2.0 to support the rebar scripts.