adding define-props-method.

This makes it easy to defien methods which take cursors specialied by the *properties* of the cursor (as per cursor/properties-class).