Use WeakPtr<RefCounted> consistently for the script WeakHandle type.
Refresh the generated scripting API docs.