Update rebar-cmds, rebar-templates and fix rebar-bin