Extend method to be possible filter constraint by contraint_type
Add Script Constraint document, actions, view and actions
Rename _build to _checkConsistency to follow Constraint API

Also, the logic of all Configuration Items was not changed, but now the changes are applied only if fixit is True.
Remove trailing whitespaces
Add test to simulate the issue with the method TemplateTool.installBusinessTemplateListFromRepository

Using the method try to install Business Templates that are already
installed, the Business Templates is uploaded on ERP5 but not used. It
creates a lot of garbage because in the end you have many bt5s not
installed.

Also, Improve error message
Use fixConsistency because _build method was dropped
inherit Base for reuse methods fixConsistency / checkConsistency
Configurator should follow Constraint API, then fixConsistency method should be enough to do everything
Improve code because is not needed call fixConsistency and checkConsistency twice

Clean up the code and keeping the funcionality to not return any error message if raise Unauthorized
Simplify erp5_upgrader to be possible upgrade any project just enabling the alarms that all Constraints will be called and fixed.

The alarms were renamed to cover each step of upgrader and give the possibility to call each step manually one-by-one. Also, all Scripts that the logic can be done by installing Business Template was removed.

Also added:
 - Constraints that can be used in the upgrader
 - Unit test to check different scenarios
 - Extend external method to be possible dump workflow chains to be compared with all configuration defined on Business Templates
Add Business Template with Constraints as a example of bt5 with all configuration required to upgrade
Improve code to call checkConsistency through activities if hundred of objects because loading all objects can kill the perfomance

Also, Added test to Folder.recursiveCheckConsistency method
fix indexes