[pluginize-solr] Moving solr reindex to a plugin

Starting pluginization of solr!
[pluginize-solr] Moving acts_as_[searchable,faceted] to the plugin
[pluginize-solr] Moving extra_data_for_index to plugin
[pluginize-solr] Moving {name,price}_sortable attributes

Obs: Must move the search_helper now.
[pluginize-solr] Moving find_by_contents tests
[pluginize-solr] Moving handle_asynchronously solr save
[pluginize-solr] Moving solr_save calls on add_category methods
[pluginize-solr] Handle async must come after acts_as_searchable
[pluginize-solr] Moving a test and defining default value for extra_index variable
Extra methods for the plugin manager

   * first: returns the first non-blank result
   * first_plugin: returns the first plugin that answers true
   * dispatch_plugins: returns all plugins that answers true
[otw] products action... =/
[otw] Deicinding whether to keed index or not...  =(
[pluginize-solr] Display search query only if there is a search engine

PS: Must make index work.
[pluginize-solr] Moving index back
[pluginize-solr] Making actions to use shared view
[pluginize-solr] File that were missing from other commits...  =P
[pluginize-solr] Moving category index back
[otw] Fixing search controller tests
Solr on the way...
Merge branch 'stable' into pluginize-solr

Conflicts:
	app/models/comment.rb
	app/views/layouts/application-ng.rhtml
	test/unit/category_test.rb