set vi modelines
fix cache miss in HgRepo.ls(report=['commit']) for non-directories

Close issue #42