[Android] Close presentation content already opened when destroying

* Destroy the presentation content to clean up the resources occupied by
  XWalkView to avoid resource leaking
* Refactor some code

BUG=https://crosswalk-project.org/jira/browse/XWALK-1633
Merge pull request #1919 from hmin/fix-presentation

[Android] Close presentation content already opened when destroying