Add plugin to do SSL'ed DB connections

Remove core hack by moving SSL configs into a custom DB plugin. Resolves #12.