added stack tracing for functions and filters
Merge pull request #11 from square/capture-stacktraces

added stack tracing for functions and filters