Fixes #66 Win32 asynchronous queries hang on connection error
Fixes for #66 Win32 asynchronous queries hang on connection error.
Using Winsock events and rb_w32_wait_events() on WIN32 and Ruby 1.9
instead of rb_thread_select().
Memory leak fixed: Closing opened WSA event.
Merged Rafał Bigaj's fixes for Win32 async queries
Fix #ifdef for Ruby 1.9.2 under non-windows platform.
Split out pgconn_block #ifdef madness into three functions; added error-checking that will hopefully help with #75
Fixing an issue with out of data properties and constants in the sample file.
Adding a test file for duplicating the OpenSSL linking problem
Added an example of PGconn#get_copy_data.

--HG--
rename : sample/copyfrom.rb => sample/copyto.rb
Added docs for the payload argument to the block from PGconn#wait_for_notify
Handle errors while rb_thread_select()ing in PGconn#block.
Thanks to Brian Weaver for the patch.
Converted to Hoe

--HG--
rename : README.OS_X => README.OS_X.md
rename : README.ja => README.ja.md
rename : README => README.md
rename : README.windows => README.windows.md
Made all the samples executable
Making #wait_for_notify accept a nil argument for no timeout (Sequel support)
Make PGconn#wait_for_notify send nil as the payload argument if the NOTIFY didn't have one.
Bumping minor version.
Added tag v0.9.0 for changeset da726282493c
Added tag v0.8.0 for changeset 7fbe4187e9e5
Ensure values returned from #wait_for_notify are tainted and encoded
Documentation update

--HG--
rename : Contributors => Contributors.rdoc
rename : History.md => History.rdoc
rename : README.OS_X.md => README.OS_X.rdoc
rename : README.ja.md => README.ja.rdoc
rename : README.md => README.rdoc
rename : README.windows.md => README.windows.rdoc