Updated for libuv changes in node 0.10
Merge pull request #125 from tomhughes/node10

Updated for libuv changes in node 0.10
add wait() method that waits until the queue is empty
fix the fts test added in 42aa8c887868916e1406cae4e3d9a1c1055c705c, which was not valid for expresso and must never have worked (just hung)
fix scheduling.test.js against variable sqlite3 versions - closes #122 (thanks @tomhughes for initial patch)
move test suite to mocha
move scripts to mocha
Merge branch 'master' of github.com:developmentseed/node-sqlite3

Conflicts:
	test/fts-content.test.js
	test/scheduling.test.js
Don't write to Async objects after we've deleted them

The handle here is actually the uv_async_t object named watcher that
is part of the Async object so we shouldn't try and write to it after
the Async object has been freed.