Allow to define the dropEffect and preventDefault handling in the dragover handler. Closes #2557