Bugfix: change testmenu to struct

Altered items:
one-key-get-struct-type
Add buf arg to one-key-menu

Allow different buffer to be used for the menu.

Altered items:
one-key-menu