DynamoDS/Dynamo — pull request #2202 by Benglin (2014-08-21 08:06:49+00:00)
Title: Implemented UpdateGraphAsyncTask, updated EngineController

Background
-----
This PR introduces the first ever ```AsyncTask``` derived class: ```UpdateGraphAsyncTask```. It is meant for callers (e.g. click event handler of ```Run``` button) to schedule an update graph.

Changes
-----
New code is confined within ```ENABLE_DYNAMO_SCHEDULER``` preprocessor, and is currently disabled.

The following methods are added to ```EngineController```:
- ```ComputeSyncData``` This method does roughly what the existing ```GenerateGraphSyncData``` method does -- to iterate through list of nodes in the workspace and generate their ```GraphSyncData```.

- ```UpdateGraphImmediate``` This method is meant to be called by ```UpdateGraphAsyncTask.ExecuteCore``` method to update the graph directly. It will be called on the context of ```ISchedulerThread```, passing the ```GraphSyncData``` that was generated from a prior call to ```ComputeSyncData```.

- ```GetBuildWarnings/GetRuntimeWarnings``` These methods are meant to retrieve build and runtime warnings from ```LiveRunnerService```.

Note to Reviewers
-----
Hi, please take a look. This PR is a continuation of the scheduler work from previous pull requests. It is a subset of what have gone into the ```Concurrent``` [branch](https://github.com/Benglin/Dynamo/compare/Concurrent), just to make reviewers' life easier.