Add info about which selection is primary in getSelections()
Allow setSelections to specify primary and reversed selections as part of the range info rather than a separate arg for primary