Bug 1071009 - [Loop] Expose bitrate, frames dropped and frame delay to a...

...pplications via TB library.
Added all information given by tokbox including framerate on encoder/decoder side, frames dropped and bitrate. RTP information also available.
Tokbox doesn't provide framedelay information. That info must be retrieved from gecko.
You've written the same on the if and else code, please don't c&p. Instead, you could do something like:
    var modifiedStat;
    if (stat.type === 'inboundrtp') {
      modifiedStat = _rtpInbound;
    } else if (stat.type === 'outboundrtp') {
      modifiedStat = _rtpOutbound;
    }
and then just use modifiedStat instead of _rtpInbound and _rtpOutbound on the rest of the code.