Bugtracker #32702 - Menu type does not display components that have directories that contain the word view

As explained in the bug tracker, when a component contain a directory name that contain the word "view" and that this directory is returned before the "/view" directory then the menu type does not display the component menu types.

The implementation consists to use the regular expression to just accept the word "view" with an optional S
All the other directory name that would contain the word view will be ignored (ie. viewer, myview, ...)