Better place for the javascript code.
Changed the loa bar with the json result.
Redrawn the user pending actions when a form is submitted. Also
rendered the user status when an action is executed.
The new pending actions got by ajax didn't work when you click in
them. Now they open the tabs in the profile.
Merge branch 'master' into status_using_ajax
Used triggers and events to improve the tabs implementation and allow
to reload the tabs easily.
To serialize the tabs status, we need to precalculate every tab
status, so we need to refactor some code.
Implemented the status tab icon reloading after any action.
Fixed an error in postal address and mobile phones addition.
Fixed the status AJAX reloading in "admin" workmode.
Implemented a polling for getting the user status only for the
administrators. This prevent the status was reloaded when user changes
it.