Detect and avoid old indexedDB implementation

Some Samsung Android devices provide support for and old indexedDB
implementation which is not compatible with the latest spec. Fixes #128