Major rewrite of aas_getdependencies_bystream with substantial changes to aas_getdependencytree_findbranches.m to correct behaviour