<databases> w/o default should not unset parent's default

closes #1533
Allow setting default database with on empty <databases>

closes #1524