Now sanitizing filenames on upload before the files are written to disk.  Created subroutine so that filenames created from uploading and from extracting an archive have their filenames sanitized by one piece of code.
Fix for caching API queries.  Subroutine was not handling CGI parameter arrays correctly.
Merge pull request #252 from jaredbischof/develop

Sanitizing uploaded filenames and fix to caching API queries.