Kaiserslautern marked their return to Bundesliga 2 with a last-gasp win over Hannover at a jam-packed Fritz-Walter-Stadion.