ARW-1633 using extensions as accepted files

changes based on https://github.com/enyo/dropzone/commit/e2f7025267e629694e0c5be22b79e715866908c7
Merge pull request #6 from nikolay-saskovets/feature/ARW-1633-extension-based-check

ARW-1633 using extensions as accepted files