Review support.js files in IndexedDB/ and subdirectories

Combine the functions so that #63, #66 ~ #69 can remove the file.

Still keep IndexedDB/support.js use vendor prefix.
Merge pull request #461 from zqzhang/zqzhang/IndexedDB-support.js

Review support.js files in IndexedDB/ and subdirectories