[BZ 1069545] Database upgrade task for subcategories.
[BZ 1069545] Remove subcategories from all the plugins and fix subcategory nesting where needed.