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
Bumping version 0.46.0~rc20140120171635
Updating AUTHORS file
box: pass holder class as type for extra blocks hotspot

(ActionItem2958)
article-lead: move js to separate file

article.js was being included twice.

(ActionItem2956)
cms-edit: move article.js include to the bottom of the file
Allow the admin users to change the environment theme on the admin panel.
Fixing AI2897 problems:

-Changed update_attribute to setting the attribute then 'save!'
-Removed some whitespaces
-The file controller/themes_controller.rb is needed because it is inherited by controller/my_profile/profile_themes_controller.rb and controller/admin/environment_themes_controller.rb, it is a generalization. Before this functionality was created, there was only one file called controller/my_profile/themes_controller.rb.

(ActionItem2897)

Signed-off-by: Alex de Souza <campelo.al1@gmail.com>
Signed-off-by: Gustavo Jaruga <darksshades@hotmail.com>
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