Support Fast App Resume.
Fixed black screen may arise when using third SDK.
Merge pull request #6971 from andyque/refactorUIFramework

refactor ObjectFactory
Merge pull request #6965 from Dhilan007/v3-wp8fix

Support Fast App Resume and fixed black screen may arise when using third sdk.