Added some basic close event tests - removed some code around read streams that isn't used anymore
don't set options on a callback open function
Merge pull request #278 from voodootikigod/close-tests

Added some basic close event tests
Merge pull request #279 from voodootikigod/optionalfunctions

don't set options on a callback open function
don't modify process.platform in tests as it's going to be read only
convert to NAN for 0.8->0.11+ compatibility