Add support for poltergeist driver

[Poltergeist](https://github.com/teampoltergeist/poltergeist) capybara driver has different syntax for adding custom headers, so I've added a little workaround for that.