Create a JInstallerAdapter class

siehe: https://github.com/joomla/joomla-cms/commit/582240688cb5a916246b65c53a323154720f284a