Update concepts.html
Wording tweak.
Merge branch 'pr/1711' into devel
Remove warning about update/$
Improve docs for server-to-server collections

Fixes #1723.
Update coffeescript.html
Add Oxford comma

http://www.washingtontimes.com/news/2013/dec/11/comma-twitter-erupts-over-obama-castro-marriage/
Merge branch 'pr/1732' into devel
Patch _.each to not treat {length: 5} as an array

Specifically, in all Underscore "collection" functions which treat their
arguments polymorphically as either "object-like" or "array-like", don't
treat arguments with `x.constructor === Object` as arrays (except for
the 'arguments' object).

Fixes #594. Fixes #1737.
Add #594 fix to History
Fix $type:4 queries and sorts with numeric indices

Add lots of sort tests.  All new tests in this commit have been verified
against MongoDB (2.5).
Simplify `logoutOtherClients` and fix `onReconnect` race.

If we called `login` and then called `logoutOtherClients` before the login
result was recieved, then we would end up with no `onReconnect` callback. Fixed
by just leaving `onReconnect` as it is when calling `logoutOtherClients` -- we
were only replacing `onReconnect` for the sake of tests that have since been
rewritten much more cleanly.

Fixes #1616.
Avoid overwriting fresh tokens from other tabs.

* Before wiping a bad token from storage on reconnect, make sure that
  we're wiping the token that we tried and failed to log in with. Avoids
  logging out another tab that might have gotten a fresh valid token
  while we were logging in with the old, invalid one (though it is still
  theoretically possible).
* In the logoutOtherClients callback, try to log in with the token that
  we get in the response. Accounts for the situation where the server
  disconnects us before the callback runs.
* If we fail to log in with a token found during a localStorage poll,
  make the client logged out.
* Add a test that attempts to simulate one tab getting a fresh new token
  while another tab logs in with an old invalid token on reconnect.
Merge branch 'fix-issue-1616' into devel

Fixes #1616
Add History.md entry for #1616 fix
typo: http => https
Smooth over some cross-browser CSP differences.

* Adding "foo.com" to your CSP via browser-policy now adds both
  "http://foo.com" and "https://foo.com". This smooths over the fact
  that some browsers interpret "foo.com" as "http://foo.com" and some
  interpret it as http AND https.
* Trim trailing slashes from origins. Firefox does not allow content
  from foo.com if you add "foo.com/" to your CSP.
Add frame-src to browser-policy-content.
Upgrade jquery-waypoints to 2.0.3
Adjust docs to waypoints 2.x and add a delay for deps flush to increase performance on scroll.