update branch equality and implement both == and isequal, add tests
update index_entry equality methods
isequal now falls back on == in Base