Add support for MySQL backed download system (anti-hotlink)

This system allows for hotlink prevention and useage of ads (with a direct link) To prevent hotlinking completely, together you can disable indexing of your directories and then block all attempts to access any file thats not in resources/ or that is not index.php getdownload.php or download.php. With these changes, the md5 is also shown at download time and a ten second counter starts for the download. This commit also starts the framework to allow for storing data inside mysql so that it doesn't have to be generated for every page load. Download counts can also be added to mysql and the site more easily this way.

Conflicts:
	README.md
(Was mostly fixed  forgot a HEAD in the readme however thats not hard to fix)