Update version to 0.4.0
Add rebar
Fix rebar path in README