make metadata storage pluggable

let's spell out postgresql completely, we probably wouldn't be happy if other projects referred to us as druiddb or something like that.