Fix #303

* Add SafeAddToChangesCount() method which uses InterLocked to increment the changesCount value.

* Modify Puller and Pusher to use the SafeAddToChangesCount() method.
Merge pull request #305 from couchbaselabs/issue-303

Fix #303 ChangesCount Error