Changed stream_file to use finfo if available, otherwise use an array of
file extensions. Moved stream_file to its own file in "includes/"
directory, which is to be preferred going forward.
Reorganized Java Code File Structure. Added chown/chmod to mkdir.php.