Generate spupng xml and png files in <file_name>.d

this pull request contain two commits.
one to separate spupng module out, so that dvbsub decoder can also use it.

another is to generate spupng subtitle from dvbsubtile decoder.