European stocks close week with gains as Germany set to boost spending