Poll support for I/O

Enables poll for performing i/o selection. 
This allows the system to use more than 1024 file descriptors.
Fix bug in configure.ac for enable-poll -- it sets the wrong variable on false.
Merge pull request #7 from vyzo/enable-poll-support

Poll support for I/O