Add providing a device driver with information about the current library...

... when connecting and when the library changes while connected.

For memory, we discussed this some weeks ago. I just got around to doing it.