It can be convenient for device users to check what it supports, without
having multiple functions to check each single feature.
So expose this and add tests.
As the driver is not a normal image device, we need to add a custom
script to test it. Note that the ioctl dump must also be manually
modified unfortunately as the state is tracked incorrectly for the
device by umockdev-record.