fixed test for closing while clicking on overlay
new parameter "remove" for function close
added test for parameter "remove" in function close
initial commit
moved creation of objectStores to an extra function
made function "open" private because it will handled internally in future
removed params from open() and createObjectStores() and added them as private vars from the module defined via define()