Add support for stacktrace filters

This supports filtering to remove application-specific noise before sending metadata over to the bugsnag API.