Tidy up

I forgot to commit individual changes so included everything in one big
update - General tidy up, Improved database structure, Improved code
readability, Changed from 'App Installer' to 'Zantastico X', Better
variable names, Improved security, Improved usability, Added legal
notice to deploy files, Fixed install/remove. I still need to improve
the code that installs the application, improve the search and give
everything a 'polish'. There will likely be some new bugs due to the
amount of changes I've made.