Changed the show_in_menu/show_in_search fields to one field

For next version there is a extendable field to store visibility in up
to 32 cases. This is implemented as a bit field (int).