filter: Implement priority action

The priority setting was broken when priority was added to the dynamic data
Merge pull request #574 from greezybacon/issue/honor-filter-priority

filter: Implement priority 

Reviewed-By: Peter Rotich <peter@osticket.com>