Fixed error messages

(ActionItem2904)
environment: destroy child profiles when destroyed

Also includes migration to remove already orphaned profiles.

(ActionItem2906)
needs_profile: not redirect if request.host is equal to profile hostname

(ActionItem2887)
solr_plugin: Add git ignores
solr_plugin: Convert scopes to solr filters
find_by_contents: pass the responsability of filter to the engines

Since there are plugins that need to receive the scope clean (that is
without filters applied to it) and since the plugin has the power to not
apply the filter when conveys it (also rewriting the interface to keep
its consistency), I decided to pass the reposability of applying any
filter provided by the core to the engines.

Nevertheless, if the plugin returns nil (that's the same that it would
return if it was disabled) the core will deal with the filters through
the default way (that is without any engine).
named_scope_monkey_patch: move to solr plugin
shopping_cart: avoid crash on buy if there is no cart

(ActionItem2808)
Force a browser to save file as after clicking a uploaded file link

(ActionItem2829)
content_viewer_test: explicitly test content_disposition type of uploaded_file
Remove Control Panel button in the memberships listing when user doesn't have access
Lists all roles a user has in a community
changes ugly code to be, what i think is, more ruby-like
application_helper/rolename: improve performance retrieval and readability
action_tracker: show only non spam comments

AI2784

Conflicts:
	vendor/plugins/action_tracker_has_comments/init.rb
shopping_cart delivery: fix delivery options not saving

(ActionItem2893)
features_tests: fix enable product features new name
pg_search plugin : fix search with space between words
catalog-test: test price_detail name not being called through production cost straight
Merge branch 'stable' of gitorious.org:noosfero/noosfero into stable