A new unity government finally takes office in Tripoli, after powerful militias had warned it to stay away.