Fix lifecycle of live web pages

Conflicts:
	src/declarativewebcontainer.h
	src/webpages.cpp
Can you also remove this one.