Modify HeadScript to filter by extention #2909

Job done to allow components templates in /htdocs/js folder but not including those .phtml files as script on header include
Add angular-tree-control #2909
Update benchmark to work on mac #2909
Update filter model, controller and repository to return tree flat or hierarchic #2909
Update new gims-filter directive using tree and modal #2909
Update the new directive use on all templates #2909