Refactor params.pp to support Ubuntu 18.04
Mostly needed because openjdk-7-jre-headless isn't available on
Ubuntu 18.04 - everything else is the same as for Debian, but I've
laid the groundwork for more comprehensive Ubuntu support if it's
required.
Currently warns you that Ubuntu 18.04 support is experimental