getAllowedDownloadFileTypes() and isAllowedDownloadFileType() added, closes #136