Add --extra-php flag to `wp core config`

Discussion: #480

Also fixes #262