add support for . references to root

Should resolve #1204

This was a fun trip through the plumbing of references and resolutions. I believe this is the best spot to fix this as a special case. Since `resolveRef` takes the ancestor path and there is no base context, it returns the falsey empty string. The viewmodel already handles resolving the empty string keypath in the desired way.

Does that sound right?