Simplify memory management in the Selector class.

Allocate all of the fd_sets as a single chunk of memory, instead of 6
seperate allocations. Remove the cached set of fd_sets. Remove redundant
zeroing of the fd_sets.
Convert BOOLEAN to bool in Selector class.