[hearthstone] - Refactor grunt doc/clean task.