Add is-installed command to wp-cli

Since parse_name basically did what I wanted already, I modified that a bit to use for the `is-installed` command.

For #627