Added file extension validation to AJAX uploader, fixed #216.
Merge pull request #218 from timgraham/ajax_upload_extension_validation

Added file extension validation to AJAX uploader, fixed #216.