Where next for Libya?

How will 'Islamic State' jihadists and foreign intervention affect the outlook for Libya's troubled transition?