#330715: Fixes for more unexpected menu behaviors. Added some more calls to menu_rebuild(), and ensured that items with wildcard paths that have not yet had arguments created for those wildcards are excluded from router item generation in hook_menu_alter().