Define priority for search modes

Search modes now feature a priority, which is currently used to sort
the sets of modes for behaviors and objects.
Clarify purpose of search mode buttons