Fix display of priority field in queue export

Also removes the fetching of priorities separately and addresses sorting of
priorities by the ID field rather than the urgency field.
Merge pull request #451 from greezybacon/issue/priority-export

Fix display of priority field in queue export

Reviewed-By: Peter Rotich <peter@osticket.com>