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.