navigator.sendBeacon implementation

Implemented sendBeacon as primary tracking method with XmlHttpRequest and getImage as fallbacks.  #6641