fix for stack overflow when deleting inputs

Conflicts:
	src/DynamoCore/Core/FunctionDefinition.cs
Merge branch 'ChocoButter-2Become1' of github.com:DynamoDS/Dynamo into ChocoButter-2Become1
Merge branch 'ChocoButter-2Become1' of github.com:DynamoDS/Dynamo into ChocoButter-2Become1