Add "defaults" option for pecl.installed state

This commit adds a "defaults" option, which if True will pipe a newline
to the "pecl install" command, causing default answers to be used to
install extensions which ask questions and thus cannot be installed
unattended.

Fixes #5701.