added an ability to initialize library without amd or commonjs modules
updated version of backbone-idb