Eleven people have been detained in connection with the deaths of four members of the same family in Istanbul, the state-run Anadolu news agency said.