Add support for database boundaries

Database boundaries need the extra step of retrieving the underlying database curve before it can be treated like any other entity with respect to "getExtents".