scheme-api: Add 'snap-point' function to (gschem window) module.