Generalize key and priority type of the PSQ type.

Also, move TS's PSQ to a new file and use GHC_Events_PSQ implementation
instead.

Fixes #4.