many fixes, added firebase utils back

added sorting buttons on list, 3 way binding on edit, $rootScope vars,
etc