Add ability to whitelist domains via .configure()

Related to [#25](https://github.com/rollbar/rollbar.js/issues/25).

I had to add a few large chunks of code to util.js that I found in [release/rollbar-1.0.0-rc.10.js](https://github.com/cfurrow/rollbar.js/commit/12ca38894bbc0df25e4373817d645b11996edf3a) @ 12ca3889. Wasn't sure how to interpret the code gone missing, but still referenced in the rest of the code. Can anyone shed some light on this?

Otherwise, code is open to scrutiny. Thanks!
Interesting, have you tried getting rid if the test callback argument ?

Test('foo' , function () {})

Sent from my iPhone

> On Jun 27, 2014, at 10:15 AM, Carl Furrow <notifications@github.com> wrote:
> 
> In test/notifier.test.js:
> 
> > +        body: {
> > +          trace: {
> > +            frames: [frame]
> > +          }
> > +        }
> > +      }
> > +    };
> > +  }
> > +
> > +  function buildNotifierWithWhitelist(whitelist){
> > +    var notifier = new Notifier();
> > +    notifier.configure({ hostWhiteList: whitelist });
> > +    return notifier;
> > +  }
> > +
> > +  it("should return true with an empty config", function(done){
> In this case, we do. Without adding done the tests timeout:
> 
> 
> 
> —
> Reply to this email directly or view it on GitHub.