Merge changes from topic "resolv_dlopen"

* changes:
  Make the resolver unit test statically link the resolver library.
  Use dlopen() and dlsym() for resolver functions