Clarify the application start URL fetching

This patch introduces a clear separation between
XPK and WGT code paths for fetching start URL.

It also removes deprecated and unneeded EntryPoints
flags from the Application class.
Merge pull request #2399 from pozdnyakov/clarify_start_url_fetching

Clarify the application start URL fetching