Addition of gpx and kml files to 3.1

FIles of format gpx and kml are allowed in File.php of the framework, but are now whitelisted for the webservers to serve to the end user.  This pull request is intended to fix that.