The American ambassador to Libya, Christopher Stevens is among four Americans killed in an attack on the US consulate in Benghazi, President Barack Obama has confirmed.