Use new operator and $.each to be kinder to 3rd party trackers.

Using the new operator ensures compatibility if the 3rd party tracker uses
the standard JavaScript constructor function style.

Similarly, using $.each allows the 3rd party tracker to return a standard
JavaScript array of elements (instead of the jquery array-like object).
Avoid race condition when initializing with identity integration enabled.
Use standard $.hasClass() method; don't crash if form-init element not found.
Bug fix with OT sync.

If both you and your peer's history basis=1, it doesn't necessarily mean that
you've got the same content, since one (or both) of you might have edited
the content before you started towtruck.
Merge pull request #663 from cscott/more-fixes

A set of additional small fixes.