[XWIKI-3544] Add legacy support for Skin extensions + tests