Allow using MediaPipelineFactory in non Spring environments

Change-Id: Ia7cb59041361bb2a8c435d086eaaa7e8a8de2060