revset: add support for "wdir()^n"
This patch catches the WdirUnsupported exception raised, and adds support for
wdir^n which will give us the nth parent of the working directory.
ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\nOK.