Copy Configuration menus and submenus

Add helper functions to get custom domains and contexts
Add top_level_menu_id field for other configuration menus