Add recharge-rate calculator.

This PR adds recharge rate calculation. Originally, this code was in hubot-recharge, but moving it here seems more logical.