[2to3port] Add EventListener.on_query_completions and View.match_selector API docs

Reuses: 9ff148bdbacc913c32d968855a7da96b38ee24bc
[2to3port] Completions enhancements

Reuses: 92508778ce4774055306ac2c04bc0c6809cdf500
Merge with remote