Expose device serialnumber to the analyzers

Hi @timreyes

Both enhancement came into my mind while implementing PEAK TRC export for the can analyzer plugin

The TRC file has a field where the device identifier is present and I thought that it would be useful to have the serial number of the capturing Logic device exported there (if there would be an API for querying that).

Regarding to the opened filename: when exporting something from analyzer sometimes it would be useful add the source file name as a reference (in a comment or in metadata or something like that).

And at the another hand it would be useful to provide an API to the LLAs to being able to suggest the export filename. Because input_filename.{extension} would make more sense (other than untitled.{extension}) in most cases I think.