Add umockdev_testbed_get_dev_fd() to get the master fd for tty devices

This might possibly extend to other kinds of devices in the future, such as
Unix sockets, so keep the name generic. With this a test suite can communicate
with clients that connect to the simulated tty device node.

Second part of https://github.com/martinpitt/umockdev/issues/9