Fix id generator and improve MojDbLevelDatabase

Add initialization for MojDbGeneratorId
Remove from db-engine berkeleydb entry
Add -gdb for debug build