Updated documentation
Added listeners for upgradedneeded and  blocked events when opening the database
Updated unit test to call deleteDatabase instead of delete.