Fix resource leak with iOS camera due to failure to remove AVCaptureSession input/outputs on stop (Bug #3389)

Hi. This is reported in Bug #3389 as well as on the user's group: http://answers.opencv.org/question/26400/memory-leak-in-camera-start-camera-stop-methods/

Memory use after repeated start/stop calls looks stable after this commit.