Misc improvements to make lettuce testing a bit saner

First steps towards using Firefox WebDriver instead of Chrome WebDriver for selenium testing. @jzoldak, could you review, please?