plugin: Stop ignoring the notification image parameter

Fetch the image in page context to adhere to content policies and to be
able to use cookies. Encode the image to a "data:" URL in PNG format to
pass it to the NPAPI plugin and then decode it in memory.