Fixed drag and drop from external files, added tests

- Fixed detection whether the drop zone is inside the currently visible
  table
- Now dragging outside the table does nothing instead of uploading,
  because the user might drop on the sidebar
- Added unit tests for the drop handler
Fix dropping files below the table
Merge pull request #8663 from owncloud/files-dndissue

Fixed drag and drop from external files, added tests