Added all tests from master to ctypesgen
Updated .gitignore, deleted tests/ioctl.py as it is not needed anymore.