kmsplayerendpoint: Improve negotiation of caps

Negotiation is now made taking into account elments contained in both internal and
main pipelines

Change-Id: I4d8140c039e2584ed68e52d38a767e8d3006b957