Add setting for persistent store type

A SQLite default is good, but sometimes you may want to use a different store type.