ModuleWithCursor.get_path_until_cursor cannot handle "\"

It raises: IndexError: string index out of range
Fix the error
Add another failing case
Fix get_path_until_cursor for empty path + continuation
Merge branch 'backslash-continuation' into dev