File upload callback improvements

* Include file types regexp for the file uploader callback.
* This commit fixes geosolutions-it/mapstore#138.