Special:Categories: Use mediawiki.ui classes and fix layout

Bug: 71146
Change-Id: I96c684f6f7b352afd368624d814761f359e7b551
Merge "Special:Categories: Use mediawiki.ui classes and fix layout"