Use rebar over erlang.mk

For all of its improvements over rebar, erlang.mk doesn't work with
dependencies that have slightly malformed .app.src files, which
otherwise work with rebar.

Life's too short to maintain separate forks of those, so...
Report request time to graphite.
DB statistics.
Add vm.args.