fix #51: make status and diff robust against workspace being inside hg repo

for review, to see also whether travis likes it.