MediaSet: Raise special exception when an object has a newref id

Change-Id: If00b2f92a40a7cf3e3aedfba42bd4134536a48ab
KmsElement: Add synchronization to current pipeline

Change-Id: I58aea065376824888baead1fae804d9dfd048cba