Allow non-functions to be passed to Rollbar.wrap

`Rollbar.wrap` currently returns a function that errors out immediately (with "has no method 'apply'") when passed a non-function. This causes errors when, for example, `addEventListener` is called with an object implementing `EventListener` (https://developer.mozilla.org/en-US/docs/Web/API/EventListener) rather than a plain function.