initialize accepts a config parameter, fixes bug with refinery-cms

[refinery/refinerycms](http://www.github.com/refinery/refinerycms) expects to initialize the datastore with a configuration object https://github.com/refinery/refinerycms/blob/master/images/lib/refinery/images/dragonfly.rb#L41. this PR make this gem compatible with refinery-cms