Fix for issue #8

Fixed the js for dropzone to allow the correct file extensions.  Also
lower-cased all extension checks for conformity.  Also fixed an issue
with grid line not always calculating the correct number of items per
line (if certain file types were filtered out)