Fix capabilities detection for sync events

Previously _detectCapabilites always returned following object

    {
        DOMNodeInserted: false, 
        DOMNodeRemoved: false, 
        DOMAttrModified: false, 
        DOMCharacterDataModified: false, 
        undefined: true
    }