fixes #2499 Add os_minor and os_major autocomplete

This PR simply adds os_minor and os_major auto complete searches.
Personally I find myself very often on the situation that I want to make an API query for all the hosts in a particular OS and I can't, ditto for the UI search.