First draft of the extended search API.

Known issues.
Search light still in place
Extended search not integrated in the sample app
Extended search not using GCD.