fix createAnswer / createOffer when ICE state is 'completed'
fix createAnswer / createOffer when ICE state is 'completed'

RTCMediaHandler's createAnswer and createOffer methods never invoke the
success callback if the ICE state is 'completed'. This happens because the
onSetLocalDescriptionSuccess callbacks check whether the ICE state is
'connected' instead of 'connected' or 'completed'. As a consequence of this,
hold and unhold no longer works once ICE reaches the 'completed' state.

This change fixes the ICE state test to allow both 'connected' and 'completed'.

dpocock/JsSIP,tqcenglish/JsSIP,CodeYellowBV/JsSIP,vconsult/JsSIP,voxbone/JsSIP,rusekr/JsSIP,DrumTechnologiesLtd/JsSIP,AaronZhangL/JsSIP