Ported changes from the latest sharpen snapshot (#7)

Ported changes from the latest sharpen snapshot as committed in 8ab2263525c40b1967fec5021cd74f72fc35890d. This is a work in progress commit.
All of the functional classes except Router related classes were ported. TestPuller has been tested and passed.
JsonCollator builds. Fixed inf loop issue.
dquote>
dquote> The collator wasn't building due to some issues with
dquote> how the switch statement was structured in Compare.
dquote> There was also an issue with commas that resulted
dquote> in an infinite loop. Eventually the unit tests
dquote> would time out and fail. Now all collator tests pass.
Code style changes.
Fixed testPuller failed issue

Fixed the testPuller failed issue caused by setting NULL TaskScheduler to the Task.ContinueWith() method when setting the LastSequence attribute to the Replication object.
Merge pull request #11 from xamarin/snapshot-update

Ported changes from the latest sharpen snapshot (#7)