Add flattening imenu functions. Make it so that init.el sections are recognized by imenu.