Allow setting the iframes url when entering frame mode.

With this we do not need to use a meta refresh header to redirect to the
apps start url in the WSGI adapter.
Allow adding more iframe settings in the future.