Germany's chancellor-to-be has won approval for plans to loosen the nation's strict debt rules for higher defence spending as security concerns rise in Europe.