The UN Security Council authorized countries to "take all necessary measures" to fight the Islamic State group in a resolution that won unanimous backing a week after the Paris attacks.