Adds rake task for calculating average character stats