Add validation for when period is in request args

It doesn't make sense to have a period query without both start and end, or a grouped period query with a limit.
Bumped Selenium version

The newer version of Selenium fixes a problem we were experiencing with BadStatusLine exceptions. See http://code.google.com/p/selenium/issues/detail?id=6690