Parse % from the notification and display progress

The code now attempts to parse possible X% match from the notification
header or text and set it as a custom hint "value" (int) for the
notification daemon to display as a progress bar.