Changed handling of database such that will use transitime.core.dbName
property if it is set. Otherwise uses transitime.core.agencyId. This way
can have a database name for non-agencies, such as for the website.