reordered document callbacks for cleaner structure
bugfix in destroy database callback
added test for database callback destroy and improved the other tests
additionally
initialized cushion in connectionCommandsTest more cleaner
added tested jsdoc to database callback destroy