Merge branch '7.x-2.x' into 7.x-3.x
Issue #2558731 by lokapujya: Fix comment spelling error.
Issue #2499733 by osopolar, jastraat, joelpittet: Fixed PHP notices with menu block configurations that do not have the new "depth_relative" value defined yet.
Issue #2283897 by stefan.r, mdeltito: Fixed "starting level follow active menu item" option to work with the "maximum depth" option.
Issue #2497041 by MrHaroldA: Converted menu_block_admin_settings_form() to use system_settings_form().
Issue #2421645 by Dave Reid: Fixed PHP Recoverable fatal error: Argument 3 passed to menu_tree_prune_tree() must be of the type array, boolean given.
Issue #1489174 by Dave Reid: Fixed cache in menu_block_get_all_menus() not updated on book menu creation or deletion.
Issue #2419725 by Dave Reid: Refactored menu_block_get_config().
Fixed coding standards.
Fixed default value for parent item in menu_block_menu_tree_content_type_content_types().
Issue #2335155 by Dave Reid: Added a checkbox on menu forms to set if the menu is included in the "menu selected by the page" variable.
Moved hook_theme() and hook_ctools_plugin_directory() to menu_block.module.
Fixed phpdoc errors and added typehinting for parameters in menu_block.module.
Issue #2194115 by ergophobe, Dave Reid: Simplified setting active-trail class in menu_block_get_title().
Issue #1978528 by Dave Reid, omasjuan, bobodrone, babruix, yerlix: Fixed some PHP notices if menu is not available or deleted. Improved admin label of deleted menus' menu blocks in Panels.
Issue #2419523 by Dave Reid: Added menu_block_delete() API and remove menu blocks when a menu is deleted.
Issue #1959312: Ensure record removal works even if block module is disabled.
Issue #1959312 by DYdave, Dave Reid: Fixed block_node_type table records not removed on uninstall.
Simplified logic in menu_tree_build().
Drupal is a registered trademark of Dries Buytaert.