Endogenous and Exogenous Control of Ecosystem Function: N Cycling in Headwater Streams