don't hard code localhost in wp core init-tests

The `dbhost` was hard coded to `localhost` in init-tests. This PR adds a new param `--dbhost` which defaults to `localhost` but also can be overridden and used with different ports, sockets, hostnames ,etc.