add basic menu

The tree structure has the very bad problem that we can't modify the instances
of NSMenuItem (which is useful for i.e. modifier keys). Should explore some
kind of DSL based on blocks (similar to ruby builder for XML).