add has_auto_menu_dep_on for class Symbol, Choice, Menu and Comment

After add these functions, I successfully get a menu structure that is nearly the same as "make menuconfig".
For detail please check https://github.com/fpemud/fpemud-kernelmanager/blob/master/lib/kmenuconfiglib.py