KmsMediaRecorderEndPoint: Add stopOnEOS contructor  parameter

This parameter forces any recorder end point to finish processing data
whenever an EOS is detected in the stream.

Change-Id: Ic8676d8f158e2f08c232fd2afc52e18fc2206abe