HaikuButton: Fix isSelected() signature
HaikuUtils::CreateHandleArray(): Generalize

The list argument doesn't have to be a BObjectList. Anything that has
CountItems() and ItemAt() methods is fine.
Haiku: Menu[Item]: WIP implementation