SERVER-5916 Allow bare $$ROOT or $$CURRENT without subfields

This represents the whole variable (usually the full incoming document).
Test for SERVER-9289 Date operators taking subexpression directly

The bug was fixed in earlier refactoring of Expression parsing.