Add basic rev-parsing

Finds an object by parsing revision string;