Rebarified

Hi, 

This is a minor change, basically just rebarifying erlog so it can be used as a rebar dependency.

Added rebar.config, rebar and erlog.app.src for enabling others to use erlog as a rebar dependency.
Changed the Makefile to use rebar.