Bump rebar; fix makefile.

* Use a version of rebar which correctly builds the protobuffs
  dependencies with +debug_info.
* Compile needs to depend on deps; build dialyzer with all deps once
  rebar is upgraded.
Merge pull request #672 from basho/csm-fix-makefile

Bump rebar; fix makefile.