WDBS: safe check for window.localStorage

Pull request for https://code.google.com/p/selenium/issues/detail?id=7726 .
I see your point, my bad.  Reading up on the subject, considering this approach for checking availability of local storage: http://mathiasbynens.be/notes/localstorage-pattern