Testframework for comparison of languageTests between Lanugage and CBN

1. Set  bool dumpDS=true;  in C:\DDSGit\Dynamo\test\Engine\ProtoTestFx\TestFramework.cs
2. Build Dynamo.All.2012.sln project
3. Run tests in Nunit that needs to be import into Dynamo and test against Language
4. This dumps the language Script into ds files in folder Dynamo\test\core\dsevaluation\DSFiles
5. Open GenerateTests.tt and change the string ChangeMe to desired class name
6. Build the project and it generates the code in  GenerateTests.cs
adding Missing files
Change the return type of GetArrayElements() to IEnumerable; avoid array copy
Fix build
Remove RuntimeMemory.GetArraySize(), it is deprecated
Remove RuntimeMemory.GetPrimitive()
Fix test cases
Update comment for RuntimeMemory.GetArrayElements
Change return type of ArrayUtils.GetValues()
Remove RuntimeMemory.GetArrayElements()
Change path to relative path
Remove ArrayUtils.GetValues<T>()
fixed failing tests which rely on watch nodes
Fix null reference crash
Merge pull request #2218 from monikaprabhu/CBNBranch

Testframework for comparison of languageTests between Lanugage and CBN
Merge pull request #2262 from ke-yu/fix_default_booleanvalue

Fix null reference crash in preview window
Merge pull request #2256 from Steell/master

Fix Unit Tests that rely on Watch node
Merge branch 'master' into refactor_getarrayelement
Cleanup code
Replace HeapElement.Stack directly reference with HeapElement.VisibleItems