break out into function
[install] fixing solr stuff
functionalise more
Merge branch 'master' of https://github.com/mk270/openspending-installer