Fix problems with snapping functions

Fix issue with elementOrigin and snapping functions that return the
given coords – function (x, y) { return { x: x, y: y } }.

Allow snap function to return null.

Re: https://github.com/taye/interact.js/issues/126