add support for JSON.stringify to ComponentData
add test for ComponentData.toJSON
add test for in operator and componentData
Merge with upstream

Conflicts:
	test/modules/componentData.js
special case root references when checking to see if a mapping needs to be created
also, apparently the extra mappings and data loops aren't needed in toJSON now? javascript is a mysterious and fickle language sometimes
Merge pull request #1549 from evs-chris/gh-1548

Add support for JSON.stringify to ComponentData