Renaming some API functions.
Adding tests for clicking links.
Implementing visit and click.
Fixing protocol-relative links.