Rebar

Use rebar for dependency and builds. Also removed the BEAM files that had been checked in.