Added necessary needsReviving parameter to extendJson()

Change-Id: Ifa71269a4f43e7de4b48e34bc9c86521506e75a5
JavaScript API now converts between ILinkableObject and WeavePath
objects.

Change-Id: I7df662b06d890e654f984edde1acdc9e276d9a4e