Added -D_GNU_SOURCE to compile arguments

This gets rid of the warning about strdup
See https://github.com/sharvil/flingfd/pull/3
Accept actual file objects from Python

Not needing to call fileno() on them inside Python, which beautifies the
API and fixes the README examples