Fixed possible wrong placement of hsts logic (#146).
Change main HSTS URI in navigation-policy-decision-requested scope (#146).

In case a URL is rewritten to http for a host that is a known hsts host, the
soup session feature rewrites the uri to https like expected. But webkit does
not honor the changed scheme and port and does still return the http uri in
webkit_web_view_get_uri().
To avoid irritations, the URI of the main request is checked in scope of
navigation-policy-decision-requested event. If the uri must be changed, the
changed uri is used for webkit_web_view_load_uri() to start a new request.
Fixed missed policy decision in callback (#146).

Added also missed g_free on uri returned by hsts_get_changed_uri.
Merge branch 'fix/hsts'.
Fixed warning on quit by window destroy.

If vimb was quit by the window manager, the webview was already cleared and
the call to stop loading caused a warning.
Fixed ^V^V shown in showcmd of statusbar.

The showcmd is completely controlled by map.c and any external call to
map_showcmd() lead to duplicate printed showcmd chars.
Yank alway also into default register "".
Don't access none given soup message.
Fixed wrong hsts protocol comparison (#146).

The uri->scheme isn't a integer value like expected, so we have to use
strcmp() to compare it with the constant.
Added manual tests for HSTS uri change in iFrame (#146).
Move hsts check back to resource-request-starting (#146).
Revert "Fixed wrong hsts protocol comparison (#146)."

This reverts commit 279c46e6a2384017fe841bc46c4ce3a9844b5e3e.
Revert "Move hsts check back to resource-request-starting (#146)."

This reverts commit 2ce5f3ef904705b813334d7f6183f858e4d6b2ec.
Change URI of webframe instead of webview (#146).

To change to URI of the webview does not work if the page contains a frame
with a URI to a host that will be changed to https for the HSTS. In this case
the frame URI is used as page URL, so that the user does not see the page he
requested.
Instead the URI of the webframe should be changed. Thanks to Sébastien Marie
for pointing this out.
Added manual test for dom focus changes (#112).
Fixed none working focus event observing (#112).

Now the strict-focus=on prevents vimb only from switching to input mode if
focus is on editable element on page load (for example set by a body onload
script). Vimb follow all further focus events.
Stripped unneeded stuff from test html.
Don't clear inputbox after :normal command.

This lead to empty inputbox for example if hinting is started by ':no f', but
the inputbox must contain the ';o'. Without the inputbox content the hinting
does not work.
Show mode label in statusbar.

This avoid often opening inputbox in case 'input-autohide=on' is set.
Don't add empty modes in kioskmode.

It does not disturb to have modes with never called callbacks, so save the
condition and the additional code block and setup the modes like normal.