Only log & show status change to db when it to/from DOWN.
Store the app and API stats and uptime in the database
Stats no longer generated on each page load. Added db actions file.