allow to configure priority

git-svn-id: http://svn.openstreetmap.org/applications/utils/tirex@30473 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
fix prototype

git-svn-id: http://svn.openstreetmap.org/applications/utils/tirex@30474 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4