Install mediawiki-selenium gem dependencies from packages

Change-Id: Ie2ceb60b97a7e13d9af6d46eb3e0ae57c567ed4a