tests: Add proper mock object for fcntl.ioctl().
tests: Add proper mock object for fcntl.ioctl().

This patch adds a proper mock object for the fcntl.ioctl() function.
This will allow us to validate arguments passed to the function.

olavmrk/python-ioctl,olavmrk/python-ioctl