Allow user to disable manifest and offlineMode (#14213, #14197)

User can disable them using  @OfflineModeEnabled and @CacheManifestEnabled
annotations in Servlets or in UI classes.

Change-Id: Ia0f3ee33080dcf59b4de166a7d8bb5d6cc6a7c3d