move libsoup related stuff to soup.(h|c)
expose fine grained request events from soup
use asynchronous http auth

This gives more freedom in how to write auth handlers

Implemented as a event/command pair: AUTHENTICATE and auth. When a
request needs authentication AUTHENTICATE will be sent and the message
paused. The user then uses the auth command to authenticate and all
messages waiting for that authentication will be resumed.

* updated auth.py to send a auth command instead of answering on stdout
* updated example config to spawn auth.py using on_event AUTHENTICATE
add variable to toggle the builtin auth dialog

`enable_builtin_auth = 1` to enable
`enable_bulitin_auth = 0` to disable
Update HTTP Auth section of README
add CLOSE_WINDOW event

* will be emitted when window.close() is called
detect stale sockets on init
Merge remote-tracking branch 'keis/window-close-event' into experimental
Merge branch 'master' into experimental
Merge branch 'master' into experimental
Merge remote-tracking branch 'keis/stale-em-socket-detection' into experimental
Merge remote-tracking branch 'keis/more-soup' into experimental

Conflicts:
	README
	src/uzbl-core.c
	src/variables.c
use interpreted string in mode options if possible

if the value to a mode config is a properly quoted string use the
interpreted value. This allows you to use the more strict looking style
of quoting your arguments in the config.

- @command  status_background   = #202020
+ @command  status_background   = "#202020"
Expose the smooth scrolling option
Get ready for new context menu APIs

WebKitGTK deprecated popup-cb and enable-default-context-menu in 1.9.0.
There's a new context-menu callback to use instead. This should allow us
to have a menu_remove function.
Add comments with notes for the context callback
Remove unused parameters

The settings are stored directly in libsoup's structures.
Expose webkit media settings
Merge remote-tracking branch 'mathstuf/dev/update-webkit-options'
Merge branch 'master' into experimental

Conflicts:
	src/uzbl-core.c