Merge pull request #8 from OEP/send-upstream

use -m flag for GitRepo.pdiff() call
parse_isodate(): fix issue #9, incorrect year
add two `ls` test cases which show a fault in HgRepo

HgRepo.ls appears to have trouble with the `directory` flag. In at least the
case where the desired directory is one dir deep, it lists the contents of
the directory rather than returning [{'type': 'd'}]

GitRepo and SvnRepo pass this test case.
patch fixing HgRepo.ls behavior with directory flag

This patch passes the test cases introduced in the previous commit.

I tried to leave as much of the original code intact as possible by
having a special if block for the directory flag where enumerating
the parent directories.