A French policeman is detained for questioning over the fatal shooting of a young man that has sparked three nights of rioting in the western city of Nantes.