Cross merging master changes into Revit 2015

Please see [the original pull request](https://github.com/DynamoDS/Dynamo/pull/3021) for review details.