Add dbname property to DBConfig
Fix bug in mongoget + doctests (test if rec is Mapping before using )