Update class.mailparse.php

https://github.com/osTicket/osTicket-1.8/issues/343

Changes mail->ticket priority selector to using simple regexes.
I wish I understood the convoluted strpos stuff..