rosie: add gpg-agent caching of credentials.

This enables `rosie` to use a gpg-agent daemon for password
caching.

This uses the gpg-agent Assuan protocol to communicate via
a socket. It uses gpg-agent's own password entry mechanism
(the pinentry programs).

@matthewrmshin, please review.