Fix lifecycle of live web pages

Conflicts:
	src/declarativewebcontainer.h
	src/webpages.cpp