Fix for 'organization is undefined' in /public/search

The Backbone Organizations collection was reset() by the page load
with a list of organizations that included the id.  Then additional
organizations that the account belonged to were added later.  Since
the original reset() json had id's the Organization.add failed
silently vs the old 'throw an exception' behavior.  Workspace was
unaffected since it's call to reset() didn't include json with ids.

Then when the organizer attempted to find them by cid they didn't exist.

This checks for existence and updates if they are already present.  As
an additional safeguard, organizer checks to make sure the
organization was found before manipulating it.
Organization#to_json should include note & document count

Otherwise the public search looks strange with 'undefined' doc and note counts.

Notes count was lost on commit 183d4a3bb82a304d64438360d84070d26cf9032b and
document_count then fell off the call sometime later.