Added an isOpen check to allow creation of Database objects for
databases that don't exist yet. Also added some missing DBOption enum
values