This changes so that the name of the module used to do url shortening is
based on an property from configuration.
By default this new 'urlShortenService' property has the value 'none',
which will make it use the 'urlshorten-none.js' module which never
shortens the url. The previous 'urlshorten-google.js' module is
activated by setting it to 'google'.
Hopefully this makes it easy for an standalone compiler-explorer
installation to use an internal url shortening service to avoid leaking
source outside of the organization.
Move checking of google api key into urlshorten-google module so it is
entirely decided in that module if it can shorten or not.
If the urlshorten module returns a falselike object the corresponding
like with dynamically be removed.
This refactor will make it easier to drop in an alternative url
shortening service. It also has the side effect that when google url
shortening fails the 'Short' link will not be shown with a non-shortened
url.