move GrantUniversalPermissions to Content
Window.eval() implementation

Conflicts:
	src/api/window_bindings.cc
inject-js in Window.open options
support 'document-end' callback
move 'inject-js' earlier to document-start

See #1372
add 'document-start' event
rename 'inject-js' to 'inject-js-start'; add 'inject-js-end'

See #1372
rename string allocation to v8_str
add 'new-win-policy' event

Fix #1375 #1290
methods for the policy object in 'new-win-policy'
move user-agent composition to GetUserAgentManifest()
set renderer command line arg for user-agent

This will set the default UA in WebKitPlatformSupport
by content_main_runner.cc

Fix #806
use weak references on DispatcherHost

Fix #1446

Conflicts:
	src/api/dispatcher_host.cc
	src/api/dispatcher_host.h
DispatcherHost owns API objects and deletion

The Window object should be deleted on browser side when
DispatcherHost is removed (e.g. dev reload), which will then
trigger decoupling with shell, or it cannot be closed.

Fix #1330
Fix uncaught exception warnings of SetZoomLevel

Fix #1395
delete dispatcher objs correctly

Fix crash on quit after reloadDev
add URLRequestNWAppJob to provide response code

Fix #1314

Conflicts:
	src/net/app_protocol_handler.cc
enable NTLM settings auth-server-whitelist etc

Fix #590
enables --auth-server-whitelist, --auth-schemes
--gssapi-library-name, --auth-negotiate-delegate-whitelist
set window.__nwWindowId in Window.open()

Fix #1519
Fix previous commit

GetObjectRegistry()'s signature expect object and
it should always return one