Gunshots and shouting were heard as police stormed the cafe in Sydney and pulled out what appear to be injured hostages.