refactor(prompt): Use query system in prompt.yn and add documentation

The undocumented `prompt.yn` used its own query implementation. Update `prompt.query` to accept a custom default prompt render function and refactor `prompt.yn` to use the default query system using the `YnValidator`.