Commit: allow retrieval of the tree's ID

Let the user retrieve the ID of the commit's tree instead of having to
load the tree just to retrieve this information.
Commit: allow retrieval of the parents' ids

Don't force the user to load the parents in order to get their ids, but
expose a list of the ids directly.
Merge remote-tracking branch 'carlos/commit-attr-id'