Upgrade to nan@1.0.0

- Test pass in 0.11.13, 0.10.28 and 0.8.26
Merge pull request #13 from santigimeno/nan1.0

Upgrade to nan@1.0.0
Connect
Add congestion event
Style
Fixes to address bnoordhuis comments

- Fix poll events handling
- Only emit connect when necessary
- A couple of style fixes
Only check errno if sendmsg returned -1
Add connect test
Update test script
Start polling before calling the writable callback

- To avoid a possible deadlock
Create HandleScope @ OnWritable