Add configuration option for certificate base directory.

Previously, was hardcoded to ~/.hydrogen_proxy/certs .  It still defaults to
this directory if no CERT_BASE is provided in settings.py .
Add unit test for get_cert() function.