*[WIP][MAMEUI] rewrite treeview.c (auto generate ui/*.ini and use it)

git-svn-id: https://mameplus.svn.sourceforge.net/svnroot/mameplus/trunk/mamep@5182 e0215e0a-1e64-f442-9f1d-d2f61a7f4648