Orthogonal Decompositions and Functional Limit Theorems for Random Graph Statistics