make metadata storage pluggable

Same reason as "partitioned." When I tried the tutorial derby didn't accept 1 or 0 as boolean.