Added pubnub WebRTC functions
Added pubnub dependencies
Rough pause-detection