use --first-parent for pdiff() and changed()

issue #31
change to BSD license