Add support for defining rope pos with mem points

(#1818, needs testing)
Merge branch 'master' into fastrope-mempoints