created layout template #24 #25

+ replaced usage in Backup and unauthorized
added an Upgrade page that shows target vs db version

The current db version is read from db
whilst the target db version is hard coded
extracted a base template from layout
Update/index uses base template
check if from version is < to version
fix: bug in blocks in View rendering #24

the current block name must be reset after closing it
added retrieval and display of upgrade scripts
fix: check for open blocks after including templates (#24)
Implemented db upgrade action

* extracted Utils::MySqlScript method
* added a button/form to start the upgrade
* Added the UpgradeDbAction method
set db version after each executed script
fixed config retrieval
display if no upgrade script available
implemented upgrade result display
if version is already up to date, redirect to index
redirect to upgrade from login and index
added some visual in upgrade result
do an upgrade at install if needed
upgrade to v1.0 with new ades_config table
Merge branch '27_db_upgrade' fix #27