Return counts for collection update and remove commands

In order to support optimistic locking the counts from the MongoDB
update and remove commands need to be returned to the application code
so that the update/remove can be verified they took place and action
taken if they did not (like throwing a 409 Error).

For consistency make LocalCollection return counts also.
Merge remote-tracking branch 'meteor/devel' into return-counts-for-update-remove
Store dates in Mongo as ISODate rather than Integer
Fixes Issue #654 - Count doesn't work when limit is specified.
Minimongo find/findOne support fields options.

First draft.
Check projection object.
Typos.
Simplest tests for minimongo fields.
Minimongo: preserve _id if not explicitly blacklisted.
Some weird nested key paths tests for minimongo.
More tests for minimongo.
Docs and typos in minimongo.
Fields filtering should happen *before* transformations.

Since 'fields' options relate to mongo 'find' query, i.e. raw data in mongo, it
has nothing to do with transformed data.
Use callbacks for proxy binding method calls.

If an app is trying to connect to a proxy that's down, this prevents it from
freezing up and allows it to try another proxy if it hears about one.
Bump docs release
Fields projection in Cursor.observeChanges works.

Now 'changed' callback is not even called if change didn't affect the result of
projection.

Note: diff.js distinguishes changes only on one granularity level.

Ex.: You have object { foo: { bar: 1, baz: 2 }, qux: "something" }, and you
observe a cursor things.find({}, { fields: { 'foo.bar': 1 } }).

If 'foo.baz' changes, you still get notified as the whole 'foo' field was
changed. However, if you change 'qux' only, callback will not fire.
Fix failed test.
Adapted tests from observe ordered to test projection.

Also remove unnecessary filtering.
Connect to galaxy for deploys only after bundling is done.

The connection was timing out during the bundle process (the setTimeout callback
was being enqueued before the connect event fired).
Log exceptions on tests run with test-in-console.

Also counts exceptions as failures and removes unused finished var.