Some cleanup

 - dbdeploy is not globally installable (in package.json)
 - Added missing semicolons
 - Some `var`s were missing
 - Removed unused parameters
 - Removed unused local variables
 - Removed the `delete` on a local variable (delete only removes properties from objects)