Fixed error in test for indexedDB

While Modernizr 3 uses 'indexeddb' (lower caps), the Modernizr 2 versions all use 'indexedDB'.
Merge pull request #2778 from fatso83/master

Fixed error in test for indexedDB