tests: Factor out LibreOffice installation
tests: Factor out LibreOffice installation

ether/etherpad-lite,storytouch/etherpad-lite,ether/etherpad-lite,storytouch/etherpad-lite,storytouch/etherpad-lite,ether/etherpad-lite