Fix guid setting

1. Fix where the guid is set when adding a node.
2. This is based on the fix by Ben:
https://github.com/DynamoDS/Dynamo/pull/2028
Merge pull request #2836 from junmendoza/Revit2015

Cross merge to Revit2015