Refactor splinter stuff to keep no references to the browser.

The browser should always be retrievable.
The browser can be easily switched by using @javascript decorator.