Refactored "DynamoModel.Reset" and "ResetEngine" methods

This PR is created just to merge things into "Revit 2015", the PR with complete review/details can be found in #2322.