Move indexedDB adapter specs file.
Split indexedDB adapter code into separate source file.