Hertha Berlin tog med en tidlig og en sen scoring en 2-0-sejr i nøglekampen mod Stuttgart i Bundesligaens bund.