Adding git ignore for *.local.php files
Some ground work for php end of things, stripped out a lot of things, such as templating, Japanese localization, and alike from Chiisana Network project, which are not needed for here. There might still be left over garbage from 2006 that needs to be redone, but this sure beats dropping a giant 40mb+ mammoth MVC framework to do something trivial.
Download.php, still incomplete, but most of the garbage have been stripped out. All is left is to fetch actual file path from database, do stream_copy_to_stream() to send the file to user.