add Generic instance for Priority
Merge pull request #1 from JohnLato/master

add Generic instance for Priority