Add option to only include JS bundle if custom feature tests pass.

EG: opts.clientFeatureTest: function () {
      return 'querySelector' in document && 'addEventListener' in window;
    }