Formatting tweaks and moved constants.
More formatting tweaks.
Rebar is now installed in the proper bin dir.

This fixes issue #28.