add the database_dir option to the config.

I want to store the core data file to the application support directory.
I needs an option to change the directory.
forget the symbol key
Merge pull request #26 from katsuyoshi/store_dir

add the database_dir option to the config.