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.
Mark application-configuration as internal. People don't need to add it. Plus, the name is long enough to throw off 'meteor list'
Merge branch 'meteor-issue-654' of github.com:nathan-muir/meteor into issue-654
Rename _suppress_ordered to _allow_unordered.
Merge branch 'isodate-to-mongo' of github.com:ryw/meteor into mongo-dates

Conflicts:
	History.md
Shorten History.md for mongo dates
Use Date for login token timestamps
Update tests for new Date fields on user docs
Merge branch 'mongo-dates' into devel
Update docs for Date types on createdAt fields.
Fix typo in package description.
update esprima to take fix for regex parsing bug
Don't number lines that end in backslash.

Fixes #1326
Add EJSON to standard-app-packages. Fixes #1343.
Use decoded pathnames in staticFiles keys.

Fixes #1339
Various bugs involving idStringify.

In minimongo, we support various types as _id fields; the most important are
strings and ObjectIds. We have a special encoding that we use when we need to
represent them as strings, but we had a few bugs with using it.

minimongo: The duplicate-ID check in insert needed to check using the encoded
string.

spark OrderedDict: due to linker changes, it was not successfully finding
LocalCollection._idStringify, and so it fell back to the identity
function. Fixed to use weak dependencies. Also, later refactorings have removed
the need for idStringify(null) === null so that special case is removed.

spark branch labels: use idStringify in various places where _id is used as a
branch label.
More comments on idStringify fix.