Added mod/branch detail views. Implemented a refer session variable so that we always come back to the right page.
Added mod/branch detail views, better edit logic (with refers).