Define a Driver#configure method that allows further tweaking of the Mechanize agent

This allows us to define custom behavior on the agent when we initialize the driver in Capybara.