Add urgent flag handling to tags() runner

The method for detecting urgency kind of changed with the multiple hook support
since the hooks now only look for the complete event rather than just using
.startswith(). This made the urgent handling stop working. This commit re-adds
it.