Cast Work Done Callback

For node >= v0.9.4 compat, explicitly cast the after work callback function to "uv_after_work_cb"

As per https://github.com/rbranson/node-ffi/commit/fdeff41ae8b1cca31d4707d7b61253c45181b8fa
add virtual destructor to JSException class