Transient cache verify_database_present for 24 hrs

Hi, 

I hope you find this useful; this change eliminates the repeated db queries to verify the database tables present, by storing the results in a transient cache.

* cache both $database_message and  $uninstall_message and reuse if possible, assuming database availability unlikely to change