What were the challenges faced by Charlemagne in the Saxon Wars, fights against the Lombards, and campaign in Spain?