PriorityQueue additions.

Added enum Less or Greater that can be passed into any constructor to
specify Min or Max heap behavior for item comparisons.