Facebook chief executive Mark Zuckerberg has testified before US Congress in response to the privacy scandal engulfing his social network.