Make search mechanism pluggable

This breaks the Sphinx search functionality out into a plugin, and adds searching to the plugin system.  A search plugin using MySQL FULLTEXT indexes has also been provided.