A Functional Renormalization Scheme for the Many-electron Problem