(Search) Adding 'general' search capabilities based on ElasticSearch. Sanity Unit Test passes as well as some manual tests, this is in preparation of performance testing.
(Search) Fixing merge conflicts with rebase.
(Search) Increasing default number of shards to 5 (elasticsearch defaults)
(Search) Changing 'query string' query to 'match' query as it does not have strict lucene syntax.
Fixes after rebase merge
(Search) Better unit test coverage. Added mocha 'grep' ability to Jakefile. Re-organized reindexing rules a bit in APIs.
(Search) Improve documentation; Promote commonly used strings to constants; Refactor some logic out of general.js into util.js; Better unit test coverage.
(Search) Minor code cleanup from self-review
(Search) Review fixes

(Search) Fixed unit tests from broken API
Logical merge conflict fix.
Fix logic merge conflicts with ui branch.
(Search) Fixing logical merge conflict
Adding message-queue functionality
(Search / RabbitMQ) Implemeneted RabbitMQ Tasks

* Refactored search to use node.js events and MQ tasks for assigning indexing jobs
* A node can be enabled / disabled as an indexing slave
* Made the search type pluggable, so external modules can plug in a new type of search
* Centralized search schema
* Stopped using _type for resourceType, now _type is 'resource' for all resource documents and resourceType is used for 'content'/'group'/'user'...
* Refactored some principals functionality into DAO, as permission-free access to entities is necessary for indexing
(Search) Move elasticsearch.js to internal directory.
(Search) Added library search. Next up is unit tests.
(Search) Frameworked the binding of search types to REST endpoints, that is all automatic; Wrote visibility tests for library search.
Added more tests for library search and general search
(Search) Implemented proper tenant separation and user-scrubbing (not actually applicable until members/memberships search)
(Search) Adding members search. Split members/memberships fields into children docs to support partial updates. Split index event into resource / members / memberships