add extension white list
Merge pull request #101 from lodge/file_upload_bug_fix

add extension white list