Add recording of read()s and write()s to a device into files

We call these "device scripts", in memory of the good old "script" tool, and in
lieu of a better name. Add umockdev-record option -s/--script for this.

https://github.com/martinpitt/umockdev/issues/18