MovieSelection: Remove extension code/data duplication and speed it up

Put the "known extension types" lists in one spot for easy maintenance.

Doing "a in (very,big,tuple)" will sequentially scan all elements of
the tuple. This is much slower than a set or frozenset which uses a
hash lookup.
Merge remote-tracking branch 'openpli/master' into last