Add log and test to HTMLActivity

Log:
- onWebLayerDismiss: no fragment container found,
- onCreate: getFragment() returned null,
- onBackPressed: no fragment container found or fragment found not an
instance of HTMLFragment,

Test:
- onCreate: getFragment() returned null: do nothing
- onBackPressed: fragment null or not a HTMLFragment instance: call
super