Correct server download location in Selenium::Server (thanks marekj).

This fixes issue 7049.
Move Ruby build to a plain gemspec + Gemfile.

This means it's no longer possible to run Ruby tests with the bundled
JRuby jar (which isn't Ruby 1.9-compatible anyway).
Fix gemspec quotes
Rename //rb:install-gems to //rb:bundle
Make TargetLocator spec less strict, this seems to vary by driver.
Cleanup + get rid of some RSpec deprecation warnings
No reason not to allow creating webdriver.WebElement from a promised Id.
Actually supporting promised Id for webdriver.WebElement.
Completes/fixes what started in previous commit 5ca08c675f5a6c06e3b4d0316b7ea0150f155512
Bump buck version and move the compilation of the firefox driver with Buck forwards.
Driver should operate cookies for the current frame, not the topmost one. Fixes issue 7799 in Firefox
WDBS: safe check for window.localStorage

Sometimes access to window.localStorage property is prohibited, so the check should be wrapped into try/catch.
Fixes regression introduced in 80ccbb8 and 2262635
Fix a typo
On behalf of velma911: Fixing infinite read from socket. Fixes issue 7814
Log formatter should be able to work with empty keys array. Fixes issue 7357

Signed-off-by: Alexei Barantsev <barancev@gmail.com>