Transient cache verify_database_present for 24 hrs

cache both $database_message and  $uninstall_message and reuse if possible, assuming database availability unlikely to change
Use static method is_network_activated()
Merge pull request #605 from adamsilverstein/cache-verify_database_present

Transient cache verify_database_present for 24 hrs