Optimize StandardChangeLogHistoryService

Cache the fact that the DATABASECHANGELOG table exists. Remove the
ranChangeSetList check because it may cause problems : if you call
getRanChangeSets before DATABASECHANGELOG is created,
hasDatabaseChangeLogTable() will still return true because the
ranChangeSetList variable has already been initialized and is no longer
NULL.