package: update to "pac-resolver" v1.1.0

Update the breaking API change as well (pac-resolver used to
default to "DIRECT", but now it's up to the user (us) to do it)
index: set the `filename` option when creating the resolver function

This way exceptions will have the correct PAC file URI in the stack trace!
index: remove final remnants of the `code` property