allow setting a function as a drag filter

This updates jsPlumb to be aware that katavorio can accept functions as filters (and so depends on the similar katavorio pull request).