reworked loki options

added loki.configureOptions() to allow dynamically re-configuring loki
persistence options; removed options from loki.loadDatabase(); added
simple feature detection to idbAdapter