Add how to list priority names and check if is valid
Merge pull request #23 from fotanus/master

Add how to list priority names and check if is valid