cms_controller: add test for mandatory fields in blog creation form

ActionItem2762
add the nokogiri gem as dependency

AI2762
application_helper: use Nokogiri in convert_macro() instead of Hpricot

AI2762
cms_controller_test: use assert_select instead of assert_tag in certain tests

AI2762

Sadly, there is no way to use :checked in the css-like selectors used by
assert_select, otherwise the new versions  would be really neat.
articles, profiles: stop using ajax for some logged-in stuff
Merge commit 'refs/merge-requests/366' of git://gitorious.org/noosfero/noosfero into merge-requests/366

Conflicts:
	INSTALL
	script/install-dependencies/debian-squeeze.sh
macro: fix attributes after nokogiri change and write some tests
convert-macro: unescaping html converted by macros
comment: remove comment_as_thread method

This method was removed by ca5ebf95375cd5dbb80a047dc79f4c31e36df899
and was mistakenly included on this merge
4ad91064632c8c1f5483a559d158d96b93e1a3c6 due to this fix
70c90e476a2a263639d13654564b8ea9db30a911. Also its tests weren't
removed.
template-tests: add is_template to fix templates tests
profile-design-tests: add new ProductCategoriesBlock to enterprises block
catalog-tests: fix per page value and remove obsolete test
template fix
categories-block-features: simulate hover to follow link
comment-reply-feature: add reply title and fix test
manage-enterprises-features: enable display_enterprise_menu_link on environment
Merge commit 'refs/merge-requests/367' of git://gitorious.org/noosfero/noosfero into merge-requests/367

Conflicts:
	app/views/content_viewer/view_page.rhtml
 Merge branch 'AI2924-add_verb_users_wall' into 'master'

AI2924 Add verb for the activities on user's wall

ActionItem: http://noosfero.org/Development/ActionItem2924
 Merge branch 'AI2922-wall_tab_by_default' into 'master'

Ai2922 Wall Tab By Default

Display the wall tab by default on user's profile
pg_search_plugin: fix escape chars