Fixing the ShoppingCartPlugin

This commit, with the participation of Lucas Melo, does:

* Make action list from ShoppingCartPluginController Fault-tolerant.
* Create a basic logging system and replace debug alerts.
* Limit the cart size to protect against cookie limit.
* Add more loading style possibilities.
* Add a little fault-tolerance to the process of loading the carts items.
* Force colorbox to "Shopping checkout" button.
* Add L10n to Cart JS interaction.
ShoppingCartPlugin do not worry about page unload
Merge commit 'refs/merge-requests/290' of git://gitorious.org/noosfero/noosfero into merge-requests/290
Escaping title html in block_helper::block_title()

ActionItem2632
Improving colorbox window size defaults
Fixing escapes due to debian security release 2.3.5-1.2+squeeze8

(ActionItem2630)
Merge branch 'html-escape' into stable
[shopping-cart] Fixing double colorbox open and improving requests

We improved some extra requests on the shopping cart, like: visibility
and list actions. They are now being retrieved on the get action all
together.

Also forbidding the user to request more the one action on the cart
simultaneously because the cart in the cookie doesn't supports it.
(We need the session stored in the database!)
[shopping-cart] Ajusting l10n and blocking simultaneous actions
Merge branch 'merge-requests/290' into stable
Merge commit 'refs/merge-requests/299' of git://gitorious.org/noosfero/noosfero into merge-requests/299
Restricting template alternatives to those inside the current environment

ActionItem2608
Adding tests for communities templates

ActionItem2608

Note: tests for users templates were made in the previous commit.
Adding tests for enterprise templates

ActionItem2608
Adding visual indicator when comments in profile walls are being sent

ActionItem2638
Merge commit 'refs/merge-requests/302' of git://gitorious.org/noosfero/noosfero into merge-requests/302
Just changing the tempalates named_scope to receive environment instead of environment_id
Replaced onclick by onmouseover on translations link
Merge commit 'refs/merge-requests/303' of git://gitorious.org/noosfero/noosfero into merge-requests/303
Replacing prototype with jQuery on the loading method